First time user so sorry if I'm putting this in the wrong place. Using UNO R4 Minima. Able to use Serial functions with serial monitor. All good. Tried copying CmdParser Callback example code. Included CmdParser library. Set baud rate to 9600, compiled and loaded normally. Program does nothing. The prompts never appear in the monitor. As a test, I commented out the cmdCallback line. The prompts now appear over and over. Can anyone give me an idea about why the callback isn't working?
let me guess, cmdCallback waiting for some input for parsing purpose and than print result and again
Can you post the code (using code tags) here? (And a link to the library)
Did you set that in both the sketch and the serial monitor? The example sketch in CmdParser from the IDE's library manager uses 115200 baud.
Of course! Yes, it does indeed receive the commands and reflects them back. It just never shows the prompts. Thanks for the help.
Here's the link to the source: CmdParser/examples/Callback/Callback.ino at master · pvizeli/CmdParser · GitHub
Library is called CmdParser and was loaded from Library Manager in IDE.
Yes, the monitor and the code both set to 9600.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.