Here is a sketch of the schematic. It is composed of three pieces: the SPI interface, the accelerometer circuit and the turn signal circuit. The pin names used in the code are indicated on the right.
Stay tuned. The brake light accelerometer was hindered by a bug in the arduino pulseIn code, which has been fixed. I also added LED feedback for the turn signal switch.
Emily has taken a couple of videos, that we will post soon.
This bike light is made from an arduino, and two LED matrices from SparkFun. An accelerometer controls the break lights and a switch controls the turn signals. More details and a schematic later.