Open fanlessfan opened 3 years ago
the issue is sometimes the previous number is not erased and the new number is written on top of it and make the number not readable. It's not already happen.
Please, review the next code, there I have a example handling a i2c sensor, maybe it could works for you:
Hi @hpsaturn
I really like your idea of ntp-clock with sleep feature. And like to add sensor information to the screen. I know you have envsensor code, but the drawsensors() is empty. Would you mind to add the build in battery voltage sensor to the screen as an example for showing sensor date on the screen? I tried to fill the rectangle or even clear the buffer, but none works. the clear buffer even ruin the time refresh.
Thanks
`
void drawBattery() {
} `