reduced i2c writes to the arduino
Merged controller and receiver code