M5 AtomS3 Lite And Arduino Serial Monitor
-
So, I'm not sure what is going on or if I'm doing something wrong here, but I'm looking to troubleshoot an M5 AtomS3 Lite (via USB) using the Arduino's built in serial monitor on my Mac.
I have some simple code shown below to test the serial monitor output but no data is being displayed despite a successful upload and run by the M5 AtomS3 Lite. Any help or suggestions here would be great.
#include "M5AtomS3.h" void setup() { AtomS3.begin(true); AtomS3.dis.setBrightness(100); AtomS3.dis.drawpix(0x0000ff); AtomS3.update(); Serial.println("Click BtnA to Test"); } void loop() { AtomS3.update(); if (AtomS3.BtnA.wasPressed()) { AtomS3.dis.drawpix(0xff0000); AtomS3.update(); Serial.println("Pressed"); } if (AtomS3.BtnA.wasReleased()) { AtomS3.dis.drawpix(0x00ff00); AtomS3.update(); Serial.println("Released"); } } -
-
@felmue thank you for making me aware of that thread! The information contained within worked like a charm!
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