Page 1 of 1

Arduino IDE and Serial Monitor

Posted: Thu Dec 01, 2022 3:48 pm
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 722 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!

Re: Arduino IDE and Serial Monitor

Posted: Fri Dec 02, 2022 1:14 am
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!

Re: Arduino IDE and Serial Monitor

Posted: Fri Dec 02, 2022 6:06 am
by fpiSTM
Fine. Thanks for feedback.