Monitor two sensors to do different tasks simultaneously ?


hi all. want use 2 pir sensors, if sensor #1 tripped, want turn on light #1, delay while fade off. if sensor #2 tripped want turn on light #2, delay while fade off.

thinking how program it, if sensor #1 has tripped , arduino in delay stage of code light on, wont able run through rest of code , poll other sensor pin see if has tripped also?

is there simple way around this?

thanks  xd

http://www.gammon.com.au/blink


Arduino Forum > Using Arduino > Programming Questions > Monitor two sensors to do different tasks simultaneously ?


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial