XIAO nRF52840 fast digitalRead?

Great! It works very well! Very fast!

msfujino !
Thank you so much for your help !

Can you also tell me how to manage quickly in the same way, instead of the digitalWrite(P0.2, HIGH) and digitalWrite(P0.2, LOW) command ?