Anyone using PlatformIO? Unable to get serial terminal to work.
-
Does anyone here use platform IO? I am unable to get the serial monitor to see what I print to the serial monitor. Anyone else have this issue?
Main.cpp
#include <Arduino.h> #include <M5Unified.h> int counter1 = 0; void setup() { auto cfg = M5.config(); M5.begin(cfg); delay(500); M5.Display.setTextSize(2); } void loop() { M5.update(); M5.Display.setCursor(0, 20); M5.Display.print("C1: "); M5.Display.print(counter1); Serial.println(counter1); delay(200); counter1++; }Platform.ini
[env:m5stack-atoms3] platform = espressif32 board = m5stack-atoms3 framework = arduino monitor_speed = 115200 monitor_rts = 0 monitor_dtr = 0 monitor_raw = yes lib_deps = m5stack/M5Unified@^0.1.13 -
@lukes In Arduino IDE you need to set the comm settings to USB CDC on Boot "Enabled", with S3 boards.
-
-
Thanks guys adding the build flags fixed the blank serial terminal in PlatformIO.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login