Optimizing Arduino Code: no setup(), no loop() ⛔

Опубликовано: 25 Апрель 2020
на канале: Wokwi
204,488
7k

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...


Смотрите видео Optimizing Arduino Code: no setup(), no loop() ⛔ онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Wokwi 25 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 204,488 раз и оно понравилось 7 тысяч людям.