Skip to content

Arduino Serial.print sends numbers instead of letters

2011 October 11
tags: ,
by Tedb0t

Recently I experienced a somewhat baffling, unexpected problem. I was using a line like:

Serial.println('test');

And getting a series of numbers like 25536 instead of the expected text. It turned out the problem was just the use of the ‘ instead of a “. Sigh.

Related Posts:


3 Responses leave one →
  1. Nate Eagle permalink
    October 29, 2011

    So… this saved my night. Stupid JavaScript habits! Thanks for blogging about this very minor issue. Wasn’t minor for me!

  2. Karlo permalink
    October 6, 2015

    Thanks!

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS