- STM32 Nucleo (Arduino)
- 55 min
- Grade 10-12 / introductory vocational electronics
- English
STM32 with Arduino API (3/4): potentiometer and RGB
Students read a potentiometer with analogRead(), map the value to RGB output, and test real-board color and threshold behavior.
- Read an analog input and convert it to a useful range.
- Use PWM to control the brightness of an RGB output.
Includes student questions and response prompts.