Hi all.
I've designed a cct to control model train lights when oo gauge train passes using LDR's. Does anyone know what I type on the interrupt Setint command. I've read picaxe command manual page 180 and it shows Setint %10000000,%10000100 to mask and check pin 7&2. But this is digital I have if b0 < 100 etc. We want it to keep checking the presence of a train but it not to stop its normal led lighting sequence. My other way is to duplicate the readadc c.1, b0 in each subroutine. Let me know it its not possible guys. Many thanks.
I've designed a cct to control model train lights when oo gauge train passes using LDR's. Does anyone know what I type on the interrupt Setint command. I've read picaxe command manual page 180 and it shows Setint %10000000,%10000100 to mask and check pin 7&2. But this is digital I have if b0 < 100 etc. We want it to keep checking the presence of a train but it not to stop its normal led lighting sequence. My other way is to duplicate the readadc c.1, b0 in each subroutine. Let me know it its not possible guys. Many thanks.