@teastain Thank you for the reply. I have the AtomS3 Lite. I'll give that solution a try. I told M5 stack help people about the issue. My Ardunio IDE is 2.1.0. I'll update it.
H
Latest posts made by hallinen
-
RE: Sample code from M5 Github does not work on AtomS3 in Arudino IDE
-
RE: Sample code from M5 Github does not work on AtomS3 in Arudino IDE
Thank you for your reply. My tool config was set to USB CDC On Boot: "Disabled" so I changed it and then changed it back and restarted Arduino and go the same message. I did find this...https://github.com/m5stack/M5AtomS3/issues/23
I changed the .cpp file but it didn't work and I got a new error when I tried to compile the "button" example. I think I was supposed to compile the .cpp file, but I don't know how to do that. Anyway, my new error..
from /Users/dianehallinen/Documents/Arduino/libraries/M5AtomS3/src/M5AtomS3.h:8, from /private/var/folders/tc/p1d_fw296cb18b8wnf6rdm280000gn/T/.arduinoIDE-unsaved20231026-41153-fswrn6.re979/Button/Button.ino:15: /Users/dianehallinen/Documents/Arduino/libraries/FastLED/src/fastspi.h:157:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output # pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /private/var/folders/tc/p1d_fw296cb18b8wnf6rdm280000gn/T/.arduinoIDE-unsaved20231026-41153-fswrn6.re979/Button/Button2.ino:20:6: error: redefinition of 'void setup()' void setup() { ^~~~~ /private/var/folders/tc/p1d_fw296cb18b8wnf6rdm280000gn/T/.arduinoIDE-unsaved20231026-41153-fswrn6.re979/Button/Button.ino:20:6: note: 'void setup()' previously defined here void setup() { ^~~~~ /private/var/folders/tc/p1d_fw296cb18b8wnf6rdm280000gn/T/.arduinoIDE-unsaved20231026-41153-fswrn6.re979/Button/Button2.ino:29:6: error: redefinition of 'void loop()' void loop() { ^~~~ /private/var/folders/tc/p1d_fw296cb18b8wnf6rdm280000gn/T/.arduinoIDE-unsaved20231026-41153-fswrn6.re979/Button/Button.ino:29:6: note: 'void loop()' previously defined here void loop() { ^~~~ exit status 1 Compilation error: redefinition of 'void setup()'
-
RE: Sample code from M5 Github does not work on AtomS3 in Arudino IDE
I'm having the same problem. I've tried a number of the examples and get various error messages. I recently updated my libraries, I have a feeling the problem is in there.