Serial monitor weird symbol FIX - NANO

Hey guys, sorry if I mess up the formatting, I am doing my best.

I am trying to run a simple serial monitor test program on a new arduino nano. Here is all of my code

void setup() {

// put your setup code here, to run once:

Serial.begin(9600);

}

void loop() {

// put your main code here, to run repeatedly:

Serial.println(1);

Serial.println(2);
}

In the bottom right of my screen, I can see that the serial monitor is set to "9600 baud". I think I have my code set up correctly, but I am unsure why I am getting a bunch of squares as the output. I may have a mechanical fault somewhere. Thanks guys

Incase anyone sees this, changing the buad rate of the computer to about 1/4 of the program worked. I have no idea why

Well if you supplied some actual information we might be able to help.
Like what Arduino is this?
What happens when you put a 100 mS delay in the loop function and also after the serial begin call in the setup function.

Post moved out of the wrong section you originally posted in, to here.

You should be getting a lot of lines starting with 2. The monitor cannot handle the data rate you are sending it. Many times doing this can cause a monitor freeze where it is a bit tricky to be able to load another program. I as a rule put delay(5000) in my startup code. Add delay(250) in your main loop, the problem will go away. Nothing damaged or broken.

My guess:

Something changed the clock-division register to an unexpected value (4 times slower).
Maybe someone messed up the fuses.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.