Replies: 3 comments 7 replies
-
Hi @era62 , I have tested PIC16F877A with the code below and it worked without error.
From the description of your problem, you probably did not configure RA5 as a digital input ( |
Beta Was this translation helpful? Give feedback.
-
I could not assemble your code with mpasm, could you send the .hex file? |
Beta Was this translation helpful? Give feedback.
-
Hi @era62 , I checked and by default the pins are set. I was unable to reproduce the issue. Please send the .hex file of the program that presents the problem. |
Beta Was this translation helpful? Give feedback.
-
hi, i'm new of this forum (gianandrea from capri's isle italy) so sorry if this issue is known. my code starts with a loop reading pins ra4 and ra5 on a 16f877a. this pin are pulled up and the buttons are "active low". on the real board and the proteus emulation it works fine. using picsimlab (breadboard) on windows or on linux, the code goes on as ra5 is low. it's very strange that selecting microcontroller pic 887 instead of 877a my code works fine on this emulator. lot of thanks for your software. best rgs.
Beta Was this translation helpful? Give feedback.
All reactions