-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M5Core2 Power LED #102
Comments
Hello, @forstner-m As far as I have checked, it is working in v1.0. What model are you using? IMG_0435.MOV |
I have a Core2 v1.0 and the led is not switchable. Do you have a code for this function? |
As a precaution, please update M5Unified & M5GFX library version to the latest released 0.1.13.
If this doesn't work, please show me the program you tried that works with |
Your code works, but this do not work: #include <Arduino.h> M5GFX display; void setup(void) void loop(void) If the line "display.begin();" is active the LED is off. |
M5Unified includes M5GFX. |
Now it works! Is the line M5.Display.begin(); necessary? |
M5.Display.begin() is not required. |
This ticket can be closed as resolved. |
Hello,
I have tried this function on the M5Core2:
M5.Power.setLed(0);
M5.Power.setLed(1);
M5.Power.setLed(255);
I tried that too:
auto cfg = M5.config();
cfg.led_brightness = 1;
M5.begin(cfg);
Unfortunately, nothing happens with it. There is no problem with the normal M5Core2 library. Therefore, the LED is not broken.
Am I doing something wrong or is the LED not implented?
Thank you very much!
Best regards,
Michael
The text was updated successfully, but these errors were encountered: