I'm making a project with Arduino nano . But There is a problem with the serial monitor . I want the values 0,1 . But it shows me wrong characters. I attach a image of it. I have also checked the baud rate . But nothing happened. I try several times but failed to solve the problem. Pls help me...
Post your simple code. Why are you posting the complex code if it is a completely different simple code that has the problem? Show a minimal representative example that shows the “error”
Your pictures do not load for me. Copy and paste into code tags from serial monitor is preferable
What do you mean not working. What are you getting on the serial monitor? Are you at the same baud rate. You need to be more descriptive “it is not working” is not an adequate description
I suspect a mismatch in the baudrate. Try different baudrates; with a baudrate of 9600 in the sketch, first try 4800 and 19200. If one works, let us know which one, else repeat with half / double that (2400 and 38400). repeat till you found something that works.
Let us know. Once we know, we might be able to advise on the cause and a possible solution.
When you load blink, is the LED one second off and one second on? Or e.g. 2 seconds on and 2 seconds off or .5 seconds on or .5 seconds off.
I tried several times with different baud rates . But Still it printed wrong numbers. But the led blinking code was working properly but I attached a servo motor that wasn't working.....