PWM LED Brightness in Python

Intermediate

Control LED brightness from Python using `pybot.led.brightness()`. Set precise levels, fade in and out in a loop, and cross-fade two LEDs.

15 min6 steps
LEDBrightnessPWMIntermediate
0 of 6 steps

Step 1 of 6

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.