Basic Arduino Code

RGB turn knob installed with a 5v pull up and a debouncing circuit