Step 5: Upload the code
Download the library at the above link. Once downloaded, Drag the library folder into your Documents/Arduino/Libraries folder. Restart Arduino.
Here is the link to the simple dimming code used with the infrared detection sensor. I used a universal sony remote as the transmitter.
Remove these ads by
Signing Up

























Not Nice












![pimpMyBike[1] =](http://www.instructables.com/files/deriv/FAO/AC1G/H9T4FC2Q/FAOAC1GH9T4FC2Q.SQUARE.jpg)



Visit Our Store »
Go Pro Today »



