Skip to content
World 4 · Raspberry Pi & GPIO · 4 min · PRO

Keeping state

A variable that survives the loop

PRO · AI Lab

World 4: Raspberry Pi & GPIO is part of PRO

The first world of AI Lab is free. PRO opens the other 34 lessons in 8 worlds — simulations, quizzes and all.

  • What is a Raspberry Pi?
  • GPIO & your first blink
  • Inputs & PWM
  • The GPIO header
  • Why the LED needs a resistor
PRO includes
  • All 26 labs — every world, every lesson
  • Practice exams and certificates

$8.33/mo, billed yearly ($99.99) · or $39.99 monthly

Report a mistake

What is wrong?
0 / 2000 · at least 10 characters
Sent along with your report
  • Page
  • About Keeping state — AI Lab · tinyml/w4-l9
Plus your browser type. Reports go to our support system; see the privacy notice.