Fix Compilation Warnings. Fix Teensy 3.0 implementation

Pointer arithmetics show warning in Arduino compiler
Timer Configuration on Teenzy 3.0 board:
  Not always reset interupt flag
  Overload 8-bit limitation on counter