I am trying to use the port command to pull the pins simultaneously in the Xiao Module. However, I keep encounter an error saying that
"
lvalue required as left operand of assignment
PORTA =PORTA | 0b0;
"
Here is the code. Does anyone if I am doing anything wrong? Thanks in advance
Thank you for your reply.
The reason I am trying to use port command is because it can drive multiple IO simultaneously, but it looks like using these function can only switch one IO at a time? Do you know if there is a way to drive the IO simultaneously in XIAO? Thank you.