using Teensy 2.0
different error returns for different errors
LED for debugging