Hi. ive just connected a PIC16F877A up and programmed it with some test code but its not working properly. I have set picbasic and my programmer to the correct chip this time :P
Heres the test code
This should see 1 LED on constantly and one flashing. Both LEDs come on but thats it. They just stay on. What could cause this to happen? Im doing everything in the same way i would with any other chipCode:trisa=%00000000 trisb=%00000000 trisc=%00000000 trisd=%00000000 high portb.0 loop: high porta.0 pause 500 low porta.0 pause 500 goto loop




Bookmarks