intermediate

GPIO with Python and gpiozero

Control LEDs, buttons, buzzers and PWM from Python with gpiozero: devices and BCM pin numbers, events versus polling, button hold and bounce time, PWM brightness and pulsing, active-low boards, composite devices, writing and running scripts, clean exit, and testing your code on any computer with the mock pin factory.

65 min

GPIO with Python and gpiozero

Control LEDs, buttons, buzzers and PWM from Python with gpiozero: devices and BCM pin numbers, events versus polling, button hold and bounce time, PWM brightness and pulsing, active-low boards, composite devices, writing and running scripts, clean exit, and testing your code on any computer with the mock pin factory.

In this lesson:

  • gpiozero
  • python
  • led
  • button
  • pwmled
  • events
  • mock pin factory
  • active low
  • gpio

🔒 This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

Official References

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans