Short question: Is there a way to make " byte pix = PIND; " work in a just a couple clock cyles?
Long Question:
Working on integrating a camera to a teensy 3.1. Need to get a byte off a serial connection [D0..D7] aka PIND as fast and efficient as possible. AVR has inb(PIND). Whats the best way for arduino/teensy? I don't have the time to loop through digitalreads. Thank you for your help!