Earthquake Converter

A project for a friend to read an earthquake event API and light up some LEDs. A Raspberry Pi connected to the API and then when there was an earthquake it sent serial messages to an Arduino which actually controlled the LEDs. The intensity of the LED flash was mapped to the magnitude of the earthquake.