I have some issues with pushbuttons.
I get a pushbutton with vdd pullups to work (0 when pressed)!
But how do i reverse this?
I have tried this solution but with no success:
And schematic in attachment!Code:loop: IF portb.5 = 1 THEN LED GOTO loop LED: high porta.2 pause 100 low porta.2 pause 100 goto loop
Bookmarks