You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Similar to Sarah-C three weeks ago but I uninstalled ver 2.0.5 and re-installed.)
Library >Arduino15 › packages > m5stack > hardware > esp32 >2.0.6
No other old M5Stack versions left over.
Deleted the AtomS3 Library and re-installed fresh from your repository.)
PROBLEM:
In the example from your GitHub repository "Button.ino" (and all the examples) produces a compile error:
/Users/terrystainton/Documents/Arduino/libraries/M5AtomS3-main/examples/Basics/Button/Button.ino: In function 'void loop()':
/Users/terrystainton/Documents/Arduino/libraries/M5AtomS3-main/examples/Basics/Button/Button.ino:32:9: error: 'USBSerial' was not declared in this scope
USBSerial.print('A');
^~~~~~~~~
/Users/terrystainton/Documents/Arduino/libraries/M5AtomS3-main/examples/Basics/Button/Button.ino:32:9: note: suggested alternative: 'Serial'
USBSerial.print('A');
^~~~~~~~~
Serial
exit status 1
Compilation error: 'USBSerial' was not declared in this scope
To reproduce
iMac 24-inch, M1, 2021
Chip Apple M1
Memory 16 GB
Startup disk Macintosh HD
macOS Ventura 13.1
Perhaps there is a local cache package that is not downloading the latest M5Stack version definition
Please delete the following path, uninstall the M5Stack 2.0.6 definition and try again
/Users//Library/Arduino15/staging/packages
Describe the bug
(Similar to Sarah-C three weeks ago but I uninstalled ver 2.0.5 and re-installed.)
Library >Arduino15 › packages > m5stack > hardware > esp32 >2.0.6
No other old M5Stack versions left over.
Deleted the AtomS3 Library and re-installed fresh from your repository.)
PROBLEM:
In the example from your GitHub repository "Button.ino" (and all the examples) produces a compile error:
/Users/terrystainton/Documents/Arduino/libraries/M5AtomS3-main/examples/Basics/Button/Button.ino: In function 'void loop()':
/Users/terrystainton/Documents/Arduino/libraries/M5AtomS3-main/examples/Basics/Button/Button.ino:32:9: error: 'USBSerial' was not declared in this scope
USBSerial.print('A');
^~~~~~~~~
/Users/terrystainton/Documents/Arduino/libraries/M5AtomS3-main/examples/Basics/Button/Button.ino:32:9: note: suggested alternative: 'Serial'
USBSerial.print('A');
^~~~~~~~~
Serial
exit status 1
Compilation error: 'USBSerial' was not declared in this scope
To reproduce
iMac 24-inch, M1, 2021
Chip Apple M1
Memory 16 GB
Startup disk Macintosh HD
macOS Ventura 13.1
Expected behavior
upload and run
Screenshots
No response
Environment
OS:iMac 24-inch, M1, 2021 Chip Apple M1 Memory 16 GB macOS Ventura 13.1
IDE &IDE Version: Arduino V2.0.3
Repository Version: M5Stack ver 2.0.6
M5AtomS3 Version 0.0.2
Additional context
10 years Arduino, 3 years M5Stack experience
Issue checklist
The text was updated successfully, but these errors were encountered: