Arduino "Blink without delay" on Arduino simulator
Summary
Arduino "Bink without delay" Program blinks the connected LED, but without using the standard delay function. This will help you to spend time with the tasks. Instead of simply waiting for 500 ms or 1000 ms to change the state of the LED, you can do other tasks, while checking intermittently the time elapsed between last state change.
You can click on Run button in the simulator below to see the Arduino simulator in action. Wokwi Arduino simulator is used here as it is free and easy to use online.
Wokwi Arduino Simulator - Blink an LED
Tip✅: The LED needs a resistor in series in practical circuits.
You can do following things with the Arduino Simulator example
- Blink an LED connected to pin 13 every 1 second, and another LED connected to pin 12 every 100 ms.
Arduino Simulation
In the section below, you can also modify the code and see the results instantly. You can change the code and recompile it by clicking on rerun/Run button. For more help, please visit Discord channel of the Wokwi Arduino Simulator.
No comments:
Post a Comment
Be Nice Policy :)