Import Sparkfun RGB Ringcoder example firmware from https://github.com/sparkfun/LED_RingCoder_Breakout/blob/master/Firmware/RGB_Ringcoder_Example/RGB_Ringcoder_Example.ino as starting point.