
Originally Posted by
Joe S.
I think I would use a PWM output feeding an LM3914 / LM3915 to control the LEDs, only 1 pin on the PIC.
Was kinda hoping that i wouldn't need anything to fancy. But, thats not that big of a deal. I can worry about it later, lower on the priority.

Originally Posted by
Joe S.
Regarding the second request: The ir beams you are decoding, are they constantly on, are they different, does the data on each change,and is there a priority of 1 over any other, or a priority hierarchy? Check out BRUCE's website here:
http://www.rentron.com
No, they are not always on, the data that would be transfered over them are different. But the format is the same [(byte)ID, (Word) Data] No priority hierarchy they will all be the same.
This is a vary basic setup we built LED hooked up to PORTA5, TSOP4840 data pin hooked up to PORTC1
Code:
TRISA = %00000000
TRISC = %11111111
High PORTA.5
loop:
if (PORTC.1 = 1) then
test:
LOW PORTA.5
pause 1000
high PORTA.5
pause 1000
goto test
Endif
goto loop
end
Pretty obvious what we want it to do to test, but, the LED stays solid, no flashing :/
Bookmarks