Demo on the M5 #42
Unanswered
CyberSmash
asked this question in
Q&A
Replies: 3 comments 2 replies
-
Demo only controls LEDs. It doesn’t put anything on the display or respond to any buttons.
… On Oct 12, 2021, at 7:37 PM, Jordan Sebastian ***@***.***> wrote:
Does the demo build and run on the M5StickCPlus? The code builds, and uploads but doesn't do anything, including show anything on the screen. No amount of pressing buttons matters either.
My current setup is the following:
Environment (modified by me):
[env:demo]
platform = espressif32
board = m5stick-c
monitor_speed = 115200
upload_speed = 1500000
upload_port = COM5 ; This will vary by machine
build_flags = -DDEMO=1
-DM5STICKCPLUS=1
-std=gnu++17
-Ofast
lib_deps = ${m5stick-c-plus.lib_deps}
globals.h
#define ENABLE_WIFI 0 // Connect to WiFi
#define INCOMING_WIFI_ENABLED 0 // Accepting incoming color data and commands
#define TIME_BEFORE_LOCAL 2 // How many seconds before the lamp times out and shows local contexnt
#define ENABLE_NTP 0 // Set the clock from the web
#define ENABLE_OTA 0 // Accept over the air flash updates
#define USE_OLED 1 // Found on another discussion
#define USE_TFT 0 // Set to 1 if you have the Heltec module w/TFT
I'm building and running with platformio run -t upload -e demo
Thanks in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#42>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCF5CERBZKENCZYMIKETUGTWGJANCNFSM5F4CZ2LA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
If you’re using an M5StickCPlus, I’d recommend just building one of the projects that is already set up for it, like SPECTRUM. Then you can prune out what you don’t need, perhaps, rather than trying to add the right ingredients one by one?
If you build and upload spectrum, you should get some stuff on the display and it will be outputting an LED signal on PIN26.
If I get a chance soon I’ll try to get DEMO working on the M5 out of the box, as it probably should :-). I’d appreciate it if you could open an issue about this and assign it to me. “DEMO doesn’t work on M5StickCPlus” would be a good title!
- Dave
… On Oct 13, 2021, at 7:52 AM, Jordan Sebastian ***@***.***> wrote:
took
|
Beta Was this translation helpful? Give feedback.
1 reply
-
#43 has been accepted and closed. Should this related conversation also be marked as answered, @CyberSmash ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does the demo build and run on the M5StickCPlus? The code builds, and uploads but doesn't do anything, including show anything on the screen. No amount of pressing buttons matters either.
My current setup is the following:
Environment (modified by me):
globals.h
I'm building and running with
platformio run -t upload -e demo
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions