pololu / fastgpio-arduino

C++ library for the Arduino IDE that allows you to manipulate general-purpose I/O (GPIO) pins on your Arduino or Arduino-compatible board with minimal overhead.
MIT License
73 stars 21 forks source link

Faster toggling is possible on AVRs #1

Closed DavidEGrayson closed 9 years ago

DavidEGrayson commented 9 years ago

Faster toggling should be performed by writing a 1 to the bit in the PINx register instead of reading and writing the PORTx bit.