Code for the Arduino based pixel