Go Down

Topic: CmdMessenger.h - problem using the example sketch (Read 665 times) previous topic - next topic

discopatrick

Downloaded the CmdMessenger.h library from GitHub, via the link on this page: http://arduino.cc/playground/Code/CmdMessenger

The commit id for the code I downloaded is 231fb76165 - filename: dreamcat4-CmdMessenger-v2.20-0-g231fb76.zip

I also downloaded all 3 dependencies (available via links from http://arduino.cc/playground/Code/CmdMessenger) and added those to my libraries folder.

Once you've uploaded the example sketch, you're supposed to be able to type example commands into the serial monitor and it should return the results of those commands.

All I get is strange characters being returned now and then, e.g: ºó«ÿ

It looks like the Arduino is receiving something, because I can see the RX light flash whenever I hit enter in the serial monitor.

Any ideas?

dxw00d

Code: [Select]
  Serial.begin(115200);
You do have the serial monitor baud rate set correctly?

discopatrick

ahhh... no! I think it was set at 9600.

Thanks dxw00d. I'll try that later.

discopatrick

Yep, all worked fine after setting the correct baud rate.

Go Up