Microcontroller › 8051 › a very basic program not working? › Hi,I understand that you’ve
September 16, 2012 at 6:27 pm
#8589
Participant
Hi,
I understand that you’ve connected switches on port 1. Then why are you trying to write into the same port as ‘ P1=0xFF ‘, those pin should be made input and you are supposed to read those pins.