Skip to content

Session 5: Variables (recap)

Recap (20 min)

  • discuss the concept of variables and how to use them (Q&A as in session 3)

Small tasks (40 min)

  • Task 1: increment counter, print current state
  • Task 2: count button clicks, print message when a certain number of clicks is reached

Larger task (40 min)

  • Set LED blinking speed by tapping (measure time between two consecutive button clicks, blink LED with the same delay)