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!