Xinyuan-LilyGO / TTGO_TWatch_Library

MIT License
890 stars 284 forks source link

brightness issue - cannot restore to normal brightness #150

Open raomin opened 2 years ago

raomin commented 2 years ago

Hello,

I have an issue with a watch 2020-v1. Its brightness seems locked to a very low brightness despite bl->adjust(255) and power->setLDO2Voltage(3300);. I believe it was brighter when I received it.

image

The same sketch gives perfectly normal brightness on the older one (the white one).

void setup()
{
    Serial.begin(115200);
    watch = TTGOClass::getWatch();
    watch->begin();
    watch->lvgl_begin();
    rtc = watch->rtc;
    watch->power->begin();
    watch->power->setLDO2Voltage(3300);
    watch->openBL();
    watch->bl->adjust(255);
...

Could there be something wrongly set with the AXP202 (I've also reset the voltage just to be sure). Actually the ->bl->adjust() has no effect whatsoever on the black one, it stays dim whatever the parameter...

Please help! :)

raomin commented 2 years ago

I guess actually one is v3 and the other one v1. They don't have the same GPIO for backlight. I'll dig it out...