I am working with a M5 Stack Tube pressure barometer and a Arduino uno WiFi rev2. When i upload the code all that appears on my Serial Monitor are random signs "G⸮⸮⸮G⸮⸮⸮G<⸮⸮G⸮⸮⸮" like those ones.
''
#include <Arduino.h>
int sensorPin = 2;
void setup() {
Serial.begin(6900);
pinMode(sensorPin, INPUT);
}
void loop() {
float raw = analogRead(sensorPin);
float Vout = raw/40953.6;
float P = (Vout-0.1)/3.0300.0-100.0;
Serial.print(P);
delay(100);
}
''
There is also this error warning:
avrdude: WARNING: invalid value for unused bits in fuse "fuse5", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xcd instead of 0xc9 (double check with your datasheet first).
Thanks for any Help in advance!