Changes to make examples compile on Arduino Leonardo

Changed timers to specific to Leonardo