Teensy code for demo purposes.