Initial stab at teensy code