jhanarato / functimer

A Functional Timer (Arduino project)
GNU General Public License v3.0
0 stars 0 forks source link

Power-up with all toggles already on #12

Closed jhanarato closed 8 years ago

jhanarato commented 8 years ago

Starting with an un-powered device:

  1. Turn all toggles to on position.
  2. Plug in.

The device should initialise itself and beep 10 seconds later.

jhanarato commented 8 years ago

Result:

The first two LEDs remain on, but the third is dim. There is no beep at any time.

jhanarato commented 8 years ago

After modification:

Three LEDs now light up, but there is no beep.

I suspect the sessionTimer is never started.

jhanarato commented 8 years ago

Added some code to setup().

If the device is started and the timer toggle switched on, start the timer.

jhanarato commented 8 years ago

Works a treat, albeit with LONG_TIME set to 20000 ms rather than 10000.