I am a final year art student - finishing my degree in a matter of days.. just wondering if anyone could point me in the direction of some code that will persuade my IR sensor to turn off a motor when triggered, and back on again when out of range.. then once has been triggered 1000 times to freak out a bit (turn on and off and on again), then again every 500 triggers..
:-/ Any ideas? x