How Fast Does Your Arduino Code Run? ⏱

Описание к видео How Fast Does Your Arduino Code Run? ⏱

In this video you will learn how to measure the execution speed of any Arduino code very accurately just by adding a few lines of code! We'll talk about clock cycles, timers, and how to set them up to figure out exactly how fast your code is.

By the end of this video, you will have a powerful way to tell how fast a piece of Arduino code runs. We'll also measure the accuracy of delay(), compare the speed of digitalWrite() versus direct port register manipulation, and see how choosing different pins can affect digitalWrite's speed.

Arduino Port Registers Reference:
https://www.arduino.cc/en/Reference/P...

Dice Roller Tutorial:
   • Programming Arduino Dice Roller from ...  

The Arduino Uno:
https://wokwi.com/arduino/libraries/d...

Code from the video:
https://wokwi.com/projects/3286758962...

Blog post: 👇👇
https://blog.wokwi.com/how-to-measure...

Комментарии

Информация по комментариям в разработке