Unknown Characters in Serial Monitor in the Arduino Online Editor

So, when I try to make my Arduino Uno R4 Wifi print things to the serial, it just outputs some random characters (Eg. C�). I am using the correct baud rate, and I've tried all of the newline options, nothing has seemed to work. Anyone got any fixes?

Here's my code I'm trying to run

#include <Wire.h>

void setup() {
  Serial.begin(115200);
  Wire.begin();
  Serial.println("Scanning...");

  for (byte addr = 1; addr < 127; addr++) {
    Wire.beginTransmission(addr);
    if (Wire.endTransmission() == 0) {
      Serial.print("Found I2C device at: 0x");
      Serial.println(addr, HEX);
      delay(500);
    }
  }
}

void loop() {}

Note: I am only able to run the Arduino IDE in the browser since I only have a Chromebook.

How is your serial baud speed setting at IDE serial ?

Here:

They both match up, it still prints the same characters. I'm using the web IDE. Not sure if that changes anything

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