Building a robot that when you send a serial command (a single digit) it stores that command into an array and then sends a response back so you are aware you can send another command (digit).
If you use a simple serial bluetooth controller app, you can see it printed out so you know when you can send the next command but is there a way in MAI to wait for the response?
Give you an idea, there will be a serious of buttons (each equating to a digit to send) and I would like to deactivate the buttons until there is a response, thus unlocking the buttons and allowing for the next command to send.
Cheers!