How to change the countdown time using a variable?
Dezolator99 opened this issue · comments
Dezolator99 commented
Original:
// Count-down timer with 21s
tDown.setCounter(0, 0, 21, tDown.COUNT_DOWN, tDownComplete);
I need:
tDown.setCounter(0, 0, time, tDown.COUNT_DOWN, tDownComplete);
The "time" value is set by the touch display.
Rafał Klepacz commented
Did you try to call setCounter method inside the loop method with the new value?