Search found 4 matches
- 04 Nov 2013 17:12
- Forum: mikroPascal PRO for 8051 General
- Topic: Upgrade from MikroPascal for 8051 2.2 to 3.5 issues
- Replies: 9
- Views: 6026
Re: Upgrade from MikroPascal for 8051 2.2 to 3.5 issues
Hi Marina. Thanks for your efforts. I made a test here and it seems to be the way the compiler understands the operand AND. I wrote a little code to simulate the operand AND. It doesn't work when I compile with Version 3.5: I used the board Easy8051. program Testepin37; { Declarations section } var ...
- 01 Nov 2013 13:28
- Forum: mikroPascal PRO for 8051 General
- Topic: Upgrade from MikroPascal for 8051 2.2 to 3.5 issues
- Replies: 9
- Views: 6026
Re: Upgrade from MikroPascal for 8051 2.2 to 3.5 issues
Hi, I am trying to read pin 3.7. It is set as Digital Input. It reads always 1 even if is 0 on it. Remember I am using the 89S8253. Part of the code: Program test; { Declarations section } Var . . var DADOS : byte at P0; var AUTMAN : sbit at P1_6_bit; var IndMA : sbit at P3_7_bit; . . var msgbuffer ...
- 31 Oct 2013 20:44
- Forum: mikroPascal PRO for 8051 General
- Topic: Upgrade from MikroPascal for 8051 2.2 to 3.5 issues
- Replies: 9
- Views: 6026
Re: Upgrade from MikroPascal for 8051 2.2 to 3.5 issues
Hi Marina, Pin 3.7 is a digital input and I can see 0 and 1 with the multimeter. The thing is that when I compile with the new version, microcontroller sees only 1's. Never 0. Otherwise, when I compile with version 2.2, microcontroller sees when there is 0 or 1 in the pin 3.7. Anotehr diferente thin...
- 31 Oct 2013 00:57
- Forum: mikroPascal PRO for 8051 General
- Topic: Upgrade from MikroPascal for 8051 2.2 to 3.5 issues
- Replies: 9
- Views: 6026
Upgrade from MikroPascal for 8051 2.2 to 3.5 issues
Has anyone faced problems migrating from MikroPascal 2.2 to 3.5? I have a part of my code that is very simple and it simply does not work in version 3.5. It is related to the bit P3.7. Code is like this: if P3_7 = 0 write "normal". if P3_7 = 1 write "reduced". It always write "reduced" even when pin...