
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
Attachment 4604
Code:
BLINK:
HIGH PORTA.0
PAUSE 250
LOW PORTA.0
PAUSE 250
TRISA.0 = 1
PAUSE 2000
GOTO BLINK
Nice trick indeed.
How about RED and BLUE = ON ?
(without ".....Of course the square wave signal would have to be interrupt driven off of a timer in order to have both LEDs on at the same time. " )
Last edited by sayzer; - 16th July 2010 at 12:24.
Reason: typo
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks