billroy / socket.io-arduino-client

A socket.io client for the Arduino Ethernet shield
MIT License
195 stars 66 forks source link

Weird encoding issue on Serial Monitor #4

Closed kluplau closed 10 years ago

kluplau commented 10 years ago

Hi,

When I open the serial monitor to see the commands send to the Arduino it looks like this:

úà­ì…ÕؼÀþûóÆððáñðñûûûðüðûñððûññðñðñüüñðüñððñððñððñûððñüüññññáñüñððáøððððüûñññðñññðáûñûðüûðñðûûñûøññðûñáðÿðððûñûðá

What could this be caused? Wrong encoding on either side perhaps?

billroy commented 10 years ago

One thing that can cause output that looks like that is an incorrect baud rate in the serial monitor. Can you confirm it’s set to the same value as the sketch sets up in the call to initBitlash()?

-br

On Apr 9, 2014, at 10:35 AM, Kenneth Brøgger-Luplau notifications@github.com wrote:

Hi,

When I open the serial monitor to see the commands send to the Arduino it looks like this:

úà­ì…> ÕؼÀþûóÆððáñðñûûûðüðûñððûññðñðñüüñðüñððñððñððñûððñüüññññáñüñððáøððððüûñññðñññðáûñûðüûðñðûûñûøññðûñáðÿðððûñûðá

What could this be caused? Wrong encoding on either side perhaps?

— Reply to this email directly or view it on GitHub.

kluplau commented 10 years ago

Thank you for fast response. The serial monitor was set to 9600 baud and the serial was initialized in the hello world example as 57600. My bad. Thanks again.

billroy commented 10 years ago

It’s nice to have an easy one to answer from time to time.

Good luck with your project.

Regards,

-br

On Apr 9, 2014, at 12:14 PM, Kenneth Brøgger-Luplau notifications@github.com wrote:

Thank you for fast response. The serial monitor was set to 9600 baud and the serial was initialized in the hello world example as 57600. My bad. Thanks again.

— Reply to this email directly or view it on GitHub.