Arduino source code for brightBeats