m5stack / M5StickC-Plus

M5StickCPlus Arduino Library
MIT License
367 stars 90 forks source link

The M5Display setBrightness(uint8_t brightness) method and others are disabled, why? #30

Closed hpsaturn closed 2 years ago

hpsaturn commented 2 years ago

Overview

Why is the reason of disabled this code:

https://github.com/m5stack/M5StickC-Plus/blob/master/src/M5Display.cpp#L478-L884

Or, how to I can set the brightness on the M5StickC?

Tinyu-Zhao commented 2 years ago

stickc-plus uses apx to manage movies, you should be able to use this api M5.Axp.ScreenBreath(7);