A timer with a duration of 25 min to be used as part of the Pomodoro Technique. The LEDs on the matrix show how many minutes are left (1 LED per minute).

  • Button A (re)sets the timer to 25 min: the LEDs are all switched on
  • Button B starts the timer: the RGB LED lights up in red and every minute an additional LED of the matrix is switched off
  • When the timer is done, the RGB LED blinks in green.
  • When clicking button A and B at the same time, the timer is switched off.

Code