Provides the software function for the Lamp Building class
https://www.adafruit.com/product/3500
This is the simplest and w/ only 12 LEDS can power from a computer or any USB charger. If you add LEDs to a different Neopixel you may want to one of more of the following:
- use a high power USB charger
- change brightness in the software
- bring in Power on Battery or USB pin rather than connector (read the docs for safety, etc)
- Power Neopixl differently based on your choices
- add hardware: a barrel jack power input and switch
Neopixel options: https://www.adafruit.com/category/168
Tested w/ software and USB power:
- NeoPixel Ring - 12 x 5050 RGBW LEDs w/ Integrated Drivers - Warm White - ~3000K https://www.adafruit.com/product/2851
- TBD
Get the 5V from USB, GND from the GND pin and use D4 for the Neopixel Data
Button 2 has 3 modes: rainbow to selected color, display all LEDs in selected color and white leds. Touching toggles to the next mode in the sequence. Wire to A0 (aka D1)
This is optional and if you leave it off you probably want to change the software to ignore it and have a default brightness. Button 2 supports 5 levels of brightness. Touching toggles to the next brighest and the back to the dim setting. Wire to A3 (aka D3)