Add support for the Teensy 3

Small changes to make the demonstration work with the Teensy 3.0