Xinyuan-LilyGO / LilyGo-EPD47

GNU General Public License v3.0
379 stars 119 forks source link

Touchscreen not working with battery power #55

Closed mKenfenheuer closed 3 years ago

mKenfenheuer commented 3 years ago

The touchscreen does work fine if the device is powered via USB, however adding a 3.7V battery does not work at all, it is only sending 0, 0 points for touches.

Any idea whats causing this?

mKenfenheuer commented 3 years ago

As it tuns out, epd_poweron() must be called so that the touchscreen is powered. Then the touchscreen works also with battery. If the device is powered via usb, epd_poweron() does not need to be called.