Hello Unregistered ,
Originally Posted by scalerobotics Really? Because I am using Dave's code on a 18F26J50 (3.3 volt) with no resistors, and it works like a charm. Red, Blue, off Code: BLINK: HIGH PORTA.0 PAUSE 2500 LOW PORTA.0 PAUSE 2500 TRISA.0 = 1 PAUSE 20000 GOTO BLINK DOH, The trick is in the TRISA.0 = 1 to get both off (the 0,0 state). Nice! Robert
BLINK: HIGH PORTA.0 PAUSE 2500 LOW PORTA.0 PAUSE 2500 TRISA.0 = 1 PAUSE 20000 GOTO BLINK
Forum Rules
Bookmarks