In this video I set up some tests that look at switching Arduino pins off using different methods like setting the bits directly in the registers, using the common digitalWrite, the not so common digitalWriteFast and what the difference is if we rap the code in a for next loop or issue instructions directly. The results honestly did surprise me.
Info on use of these Teensy Registers: www.pjrc.com/t...
Негізгі бет Arduino Processing Speed - Bit Banging Registers vs digitalWrite, not what you think!!!
Пікірлер: 6