added source code for Arduino (3 buttons + 1 slide)