Arduino IDE and Serial Monitor

Post here first, or if you can't find a relevant section!
Post Reply
kstuck
Posts: 4
Joined: Mon Nov 28, 2022 1:34 pm

Arduino IDE and Serial Monitor

Post by kstuck »

I got the STM32 Board package installed and uploaded the blink program to my F446RE board and everything worked fine.

So I switched over to a simple calibration sketch for a MPU6050.

Sketch compiled and uploaded no issues.

Ran the sketch and the sketch ran.

The serial monitor shows the sketch and the serial.prints that print out text work correctly.

When it comes down to displaying the actual values from the calibration routine it displays and something other than numbers.
Serial Monitor.jpg
Serial Monitor.jpg (49.3 KiB) Viewed 509 times
I ran the same sketch on an Arduino Uno and it printed the calibration numbers correctly.

Any thoughts on the cause or how to fix it?

Thanks!
kstuck
Posts: 4
Joined: Mon Nov 28, 2022 1:34 pm

Re: Arduino IDE and Serial Monitor

Post by kstuck »

I got this figures out.

Series of errors on my part.

When I tested this with an Uno I loaded the wrong sketch so the sketch worked but it was the wrong sketch.

Don't I feel like an idiot.

After I loaded the correct sketch it did he same thing on the Uno.

I've cleaned up my project directories so that won't happen again.

It must be a different issue unrelated to the Nucleo board.

Thanks to everyone that took a look!
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Arduino IDE and Serial Monitor

Post by fpiSTM »

Fine. Thanks for feedback.
Post Reply

Return to “General discussion”