Fast DigitalRead(), DigitalWrite() for Arduino: On the Arduino, and all Atmel microcontrollers, processing is fast when using the Arduino IDE. But the input/output is very slow. If you have a time critical program digitalRead() and digitalWrite() can slow it down a lot. When writing this instruct…