Do not check for integer values for entries with 'id' as their keys
Correct broadcast errors and exception handling.

Correct failed broadcast call by including self.
Remove duplicated broadcast call.
Handle exception on validating data.
Handle exceptions better. Change control of PWM outputs to the LED
strip from Raspberry Pi to Arduino.

Handle exception on validating data.

Color output to LED strip is now sent over serial to Arduino, which has
hardware support for PWM. Colors appeared to flicker on and off using software
implementation of PWM through Raspberry Pi…
- Remove color object.
- Adjust settings on the color sensor.
- Calculate color correctly and add gamma table to make color output more
accurate to what you see. These steps are the same used by Adafruit, though
their code is in Wiring for Arduino rather than Python for Raspberry Pi (this
use case).
- Make serial connection between Arduino and Raspberry Pi.
- Add thread to check that the Arduino is connected to Raspberry Pi.
Take serial input (from Raspberry Pi) to control PWM outputs onthe Arduino