Skip to main content
← All experiments
PolyComputingControl loops on a microcontroller10–15 min

Blink & Sense

Program a simulated microcontroller board to blink an LED on time with millis() instead of delay(), and react to a light sensor inside the loop.

FIT / EXPERIMENTExplore. Test. Explain.
Notice, currentExplain, nextApply, next
0 points
The experiment opens when it comes into view.
Theory and model assumptions

Program a simulated microcontroller board to blink an LED on time with millis() instead of delay(), and react to a light sensor inside the loop.

Teacher guidance

Poly embedded systems: the forever loop(), non-blocking timing with millis() and reading a sensor in a loop (generic)

Expected time: 10–15 minutes.

SHARE AN EXPERIMENT

Add the player to a FIT lesson