gfvalvo:
Don't think receiveEvent() is an ISR, they don't take arguments.
Good point - we don't know if it is being called from one BECAUSE OP DID NOT POST THE WHOLE PROGRAM!
This is why we hate snippets here.
gfvalvo:
Don't think receiveEvent() is an ISR, they don't take arguments.
Good point - we don't know if it is being called from one BECAUSE OP DID NOT POST THE WHOLE PROGRAM!
This is why we hate snippets here.