gpiozeroEasy Playground

Simple GPIO interface for Raspberry Pi

Getting started with gpiozeroRun locally
Install
pip install gpiozero
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: gpiozero)

gpiozero is a third-party package. Simple GPIO interface for Raspberry Pi. Install with: pip install gpiozero

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?