Pages: [1]   Go Down
Author Topic: CmdMessenger.h - problem using the example sketch  (Read 613 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Thanks dxw00d. I'll try that later.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: