Wait command explain
Can anyone explain me please about the wait command?
i see this in the library API:
bool wait(unsigned long ms, uint8_t cmd, uint8_t msgtype);
ms - The number of milliseconds to wait (while still processing incoming data)
cmd - The command type to wait for
msgtype - The message type to wait for
- what is cmd? what types?
- if i use ms = 0 will it wait forever (or at list until message arrives)
Thanks for your help.
- No, wait 0 will wait 0 ms
Thanks, its clear now.