Check your PIC's datasheet. What 'mode' are most pins/ports set to on a power up RESET?
Then try a 'blinky LED' program...then try to understand YOUR program.
Check your PIC's datasheet. What 'mode' are most pins/ports set to on a power up RESET?
Then try a 'blinky LED' program...then try to understand YOUR program.
Which PIC are you using?I taste this : "If time=0 then porta.0 = 0" but not working
Have you set TRISA.0=0 so PORTA.0 is an output?
Bookmarks