convert Arduinot to a simple osciloscope