An Adafruit NeoPixel strip that is being controlled simultaneously by an accelerometer and a lux sensor. The code reads that reducing light into the lux sensor increases the brightness of the LEDs, and altering the roll of the accelerometer changes the phase of the LED sine animation.
Featured Adafruit Product!
Adafruit TSL2561 Digital Luminosity/Lux/Light Sensor Breakout: The TSL2561 luminosity sensor is an advanced digital light sensor, ideal for use in a wide range of light situations. Compared to low cost CdS cells, this sensor is more precise, allowing for exact lux calculations and can be configured for different gain/timing ranges to detect light ranges from up to 0.1 – 40,000+ Lux on the fly. The best part of this sensor is that it contains both infrared and full spectrum diodes! That means you can separately measure infrared, full-spectrum or human-visible light. Most sensors can only detect one or the other, which does not accurately represent what human eyes see (since we cannot perceive the IR light that is detected by most photo diodes) (read more)
Adafruit LIS3DH Triple-Axis Accelerometer (+-2g/4g/8g/16g): The LIS3DH is a very popular low power triple-axis accelerometer. It’s low-cost, but has just about every ‘extra’ you’d want in an accelerometer (read more)