RPi.GPIOEasy Playground

Low-level GPIO control for Raspberry Pi

Getting started with RPi.GPIORun locally
Install
pip install RPi.GPIO
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: rpi.gpio)

RPi.GPIO is a third-party package. Low-level GPIO control for Raspberry Pi. Install with: pip install RPi.GPIO

Challenge

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