Arduino

How Arduino digitalWrite Works – and why AVR is Faster

http://www.crash-bang.com/arduino-digital-io/

Arduino digitalWrite speedPreviously I looked at the speed difference between digitalWrite and direct port manipulation. It was a chance to check out a Saleae Logic Analyzer. Andrew at !Crash-Bang Prototyping took the analysis a step further. He broke down what is going on inside of digitalWrite().

This study is useful. When you’re ready to move beyond the Arduino IDE or the core functions, you can decide if you need your own version of digitalWrite().

Check out !Crash-Bang Prototyping’s “How Arduino digitalWrite Works – and why AVR is Faster“.

Fan of making things beep, blink and fly. Created AddOhms. Writer for Hackster.io News. Freelance electronics content creator for hire! KN6FGY and, of course, bald.

Write A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.