Seems to me an electrical problem; the voltage at pinb.0 changes from 0 Volt to 5Volt and vice versa?
How do realize the voltage change from the clock? With a relais? A small drawing would help.
Kim.
Search found 9 matches
- 28 Apr 2010 07:45
- Forum: mikroPascal PRO for AVR General
- Topic: Problem reading pin
- Replies: 2
- Views: 2115
- 22 Oct 2009 13:25
- Forum: mikroPascal PRO for AVR General
- Topic: Read Temperature Sensor LM75 I2C
- Replies: 10
- Views: 10135
TWI LM75
Dear corado, you nearly got it. Do you rember your first "address-guess": "The LM75 is adressed on 1001000 , all Adresslines on ground... " Just add an "1" to make 10010001 and you've got the correct address. function read_lm75(nr:byte):real; var low_byte:byte; absolute $100; volatile; high_byte:byt...
- 16 Mar 2009 15:42
- Forum: mikroPascal PRO for AVR Beta Testing
- Topic: warning checkbox useless
- Replies: 1
- Views: 3951
warning checkbox useless
The warning-checkbox in the error-window has no function.
"unchecking it" does not remove then warnings.
This job is done by the "hints-checkbox", which removes/shows hints and warnings.
O.K. blame on me, this bug can only be found by users who produce warnings
"unchecking it" does not remove then warnings.
This job is done by the "hints-checkbox", which removes/shows hints and warnings.
O.K. blame on me, this bug can only be found by users who produce warnings
- 16 Mar 2009 12:37
- Forum: mikroPascal PRO for AVR Beta Testing
- Topic: Compiler say ERROR, but where?
- Replies: 18
- Views: 17567
[quote="goran.marinkovic"]Hi, You treated string type as a char type. Your code will work ... No I dont want to use a string variable in a case statement, it was a mistake of me, using this string type. I only wanted to mention, that if this mistake occurs, the compiler gives me only very little hel...
- 11 Mar 2009 12:57
- Forum: mikroPascal PRO for AVR Beta Testing
- Topic: Compiler say ERROR, but where?
- Replies: 18
- Views: 17567
another reason for "finished with errors" without
program test;
var s:string[2];
a:byte;
begin
s:='x';
case s of
'x': a:=1;
end;
end.
result:
compilation startet
finished (with errors) but it found neither warnings nor errors.
The compiler must check the variable-type of the case statement
var s:string[2];
a:byte;
begin
s:='x';
case s of
'x': a:=1;
end;
end.
result:
compilation startet
finished (with errors) but it found neither warnings nor errors.
The compiler must check the variable-type of the case statement
- 11 Mar 2009 11:55
- Forum: mikroC PRO for AVR Wish List
- Topic: switch off compiler warnings for special code areas
- Replies: 1
- Views: 4488
switch off compiler warnings for special code areas
First of all: the more nitpick the compiler examines the source-code for possible bugs the merrier. thats no question. But there are passages that are save but provoce warnings because the compiler is sometimes not as smart as the user ;) In this case it would be nice to switch off the warnings (or ...
- 10 Mar 2009 09:20
- Forum: mikroPascal PRO for AVR General
- Topic: uart1_init
- Replies: 3
- Views: 3000
missing 115200 baud rate
urgs... the Monty Pythons would say "Thats not funny"mionut wrote:I am aware of this bug since mikroPascal v 4.0.0 ... So I wrote my own Uart_Init ...
would you like to send send me this unit?
luko
- 10 Mar 2009 09:09
- Forum: mikroPascal PRO for AVR Wish List
- Topic: Patch and library download directory
- Replies: 1
- Views: 4641
Patch and library download directory
Would it be possible to allocate a patch and library directory somewhere on mikroe.com where we can find patches like:
mikropascal_pro_avr_v126_patch.zip
or libraries like
AVR_additional_string_library.mcl ?
Sometimes it is not easy to find them in a forum.
mikropascal_pro_avr_v126_patch.zip
or libraries like
AVR_additional_string_library.mcl ?
Sometimes it is not easy to find them in a forum.
- 26 Feb 2009 14:57
- Forum: mikroPascal PRO for AVR General
- Topic: uart1_init
- Replies: 3
- Views: 3000
uart1_init
Version: mikropascal pro 1.25 MCU: Atmega 32 uart1_init(57600); works well uart1_init(115200); Syntax error: Expected "unsigned constant" but "115200" found this seems to be an unexpected limitation. luko the whole code: program test; begin uart1_init(57600); delay_ms(100); UART1_write_text('abc'); ...