LeChacal.com
@lechacal
·
Arduino: Replace digitalWrite for 25x faster execution
The digitalWrite() function in arduino can be replaced with a faster command called _BV(). Execution of _BV() is found to be 25 times faster than digitalWrite(). For example if the code contains the…