Nano Every PINx instruction

I need to use PINx instruction, But I think that this instruction can not be used to Nano Every,
can you suggest my a solution,please? What do you think about it ?

PINx is not an Arduino command. Do you have an arduino question? Are you interested in digitalWrite() or digitalRead() or analogRead(). All are supported on the entire line of arduino controllers.

1 Like

Want to read the port status by manipulating registers directly?

Please use VPORTx.IN instead of PINx

Also, This is a register operation, not an instruction.

1 Like

Thks so much for you support !!!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.