I have conect two leds to porta.2 and porta.3.
My problem is when i press 1 or 2 keys on keyboard (PC) the led isn't turn on
My pic is 16f88
Code:old var byte new var byte main: serout porta.0, T9600, ["Enter which LED to light (0-1): ", 10, 13] serin porta.1, T9600, #new serout porta.0, T9600, ["LED Chosen: ", #new, 10, 13] Pause 100 low old high new old = new goto main
Bookmarks