This project also contains an example of how to use external C files in coordination with Arduino IDEs' C++ language.
Now with Arduino powered channel changing! Clone this repo today and get two arduino sketches for changing the channel with either a potentiometer OR a 10 switch rotary encoder!