Do you have a couple of LEDs handy?
I always add a 'heart beat' LED to whatever I'm doing, even if I know the hardware is working... Really helps for troubleshooting...
And if you're using the internal pullups, you're turning on the internal pull-ups, then turning them right back off...
Code:OPTION_REG.7=0 'Enable internal pull-ups OPTION_REG = %11111000 ' Assign prescaller to WDT
Bookmarks