added arduino sketch for teensy