Pages: [1]   Go Down
Author Topic: Strange Output on Serial Monitor  (Read 526 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Total newbie to Arduino and these forums.  Attached is an image of a simple led blink sketch along with the serial monitor output.  Why the strange characters in place of numbers 1 through 12, while 13 through 20 output fine?  The pattern repeats.  Thanks in advance.  John

 
Logged

Montreal
Offline Offline
Faraday Member
**
Karma: 30
Posts: 2608
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Serial.begin() needs only one instance, in setup();
Logged

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

Is working.  Thank you Magician.
Logged

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do yourself a favor and start using "Tools -> Auto Format" in the IDE.  It'll teach you how to properly indent your code and {'s.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Pages: [1]   Go Up
Jump to: