Myriam – IR sensor

I used the IR sensor to control 2 Leds. The first one fades in from 0 to 150 and the other one from 150 to 255.

A switch turns the arduino on and off.
You can view the code here.

http://vimeo.com/moogaloop.swf?clip_id=3932636&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
IR sensor from maryam aboukhater on Vimeo.