Blink an LED with Python

Beginner

Control the RED LED from Python code. Learn to import the pybot library, turn an LED on and off, add a delay, and loop forever with while True.

12 min5 steps
LEDPythonWhile LoopBeginner
0 of 5 steps

Step 1 of 5

Connect your board

Power on your Beaver Board — the OLED will show a PIN code. Click Connect in the toolbar, choose Connect via Bluetooth, and select your board. If it's your first time, enter the PIN shown on the screen.