opencarecc / inpe

this is the repo for the first prototype of the opencare project
http://inpe.opencare.cc
7 stars 2 forks source link

turn off LCD display when not in use to save battery power #4

Closed cntlsn closed 7 years ago

cntlsn commented 7 years ago

this has been solved in two ways

in https://github.com/opencarecc/inpe/commit/9147f1a338dcbac8146ef5f57f2e43f33f45e05f the sketch is just turning the backlight of the LCD up and down

in https://github.com/opencarecc/inpe/commit/54f33ccb3a6ad1112db7e96af79d8f1a146900ca the sketch is using the fuctions vm_pwr_lcd_sleep_in/out to turn the LCD on or off, but for some reason the LCD backlight stays always on.

this needs confirmation of power consumption in both approaches!

cntlsn commented 7 years ago

solved with https://github.com/opencarecc/inpe/commit/5b25ce85826d4fd4b7289301ffba7571788a2cc8