Arduino Touchscreen Frequency Generator