Hi there,

I'm wondering how can I perform port manipulation, like using DDRD, PORTx to do faster digital read, use Tennsy4.0? I need to do a digital read of 8 bits of data at a very fast speed. I checked through the pin_arduino.h. It seems like the port definition is something defined at the hardware chip level.

I don't know if my understanding here is correct. I would be very thankful if u can offer some advice.

Thanks,
Leo