Code that takes input from the ADXL335 and outputs analog RGB data on Arduino