Optimizing Arduino Code: no setup(), no loop() ⛔
YouTube Viewers YouTube Viewers
11.5K subscribers
188,910 views
0

 Published On Apr 25, 2020

When you write Arduino code, you usually split your code into two parts: the setup() function that runs once, at the beginning of the program, and the loop() function that runs repeatedly. But did you know that it doesn't always have to be this way?

In this video you will learn how to write Arduino code without setup() and loop(), and see some of the benefits that come with it (such as reduced code size), as well as some solutions to common challenges with this method.

Arduino Port Registers Reference:
https://web.archive.org/web/202108130...

Arduino main() function source code:
https://github.com/arduino/ArduinoCor...

The code from the video:
https://wokwi.com/projects/3307127700...

The Arduino Blink Playground:
https://wokwi.com/arduino/libraries/d...

show more

Share/Embed