changes arduino debug mode to use a smoother rainbow fading effect
removes Pin class from arduino code
simplifies debugMode logic in arduino