← Innovation PlaygroundMISSION 28 / 100 · Coding Studio

Arduino-style blink timing

Predict the cycles per second of a repeated LED on/off program.

1. Explore the controls

Change the inputs and observe the model's response.

2. Observe the results

Cycles/s2.5
Duty cycle (%)50

How the model works

digitalWrite(LED, HIGH); delay(on);
digitalWrite(LED, LOW); delay(off);
YOUR MISSION

3. Reach the target

Adjust the controls to obtain the following outputs. Multiple valid solutions may exist.

Cycles/s2
Duty cycle (%)60
Need a hint?

One cycle includes both delays; duty is ON divided by total.

Explore, then check your answer.

Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.