The IR sig is " clean " for the most part , the random signal it seems to pickup are mainly from lights around ,
i have not done that much with interrupts say more than just check a timer has expired flag , i am also short of program space , but ill have to work around that issue . will remove other code routines to see if the COI detected ok
The get IR routine has pulsin_max set to the max time of valid pulse length before timing out, which helps but you still need to go call the routine very regular , and thats killing me
I do have 2 other items on a makeshift SPI bus that will eventually i like to use a pin for interrupts , instead of polling a register flag , but will have to wait till i have a bigger pic chip to arrive( 16F1825) , with the new programmer
i am assuming that i can services other interrupt routines in the same way as what i am looking at with the IR routine on IOC ?
managing multi interupts from 2 or more pins would be something new also to me for pics , so code ref examples on the best way to do this would be Very helpful.
Il go get DT_int14 routines and study them a bit more today
The learn curve continues
Cheers
sheldon
Bookmarks