This sketch is to enable a motion sensor controlled single color LED Strip in my closet. The flow will fade the LED strip via PWM up to full when motion is detected, then fade to a dim level after a period of time with no motion. Finally it will turn the LED's off. At any time when motion is detected it will return to full brightness. I am using a N-channel mosfet to control the 12v LED's. This was written to be used on the Adafruit Trinket 5v Feel free to use/share/modify this example. Created by (sparky642@gmail.com)