raomin / ESPAltherma

Monitor your Daikin Altherma / ROTEX heat pump with ESP32
MIT License
317 stars 104 forks source link

M5Stack Tough Support Added #413

Open IncanusUK opened 3 months ago

IncanusUK commented 3 months ago

Added support for the M5Stack Tough. Seems to be all running fine on my heat pump.

https://docs.m5stack.com/en/core/tough

It is connected via the GPIO port which are the same pins as the M5Stick C Plus and others.

munzili commented 3 months ago

You have an error in your code:

}else if (LCDTimeout < millis() & !display_sleeping){//Turn screen off

i think you will need a double && for this if

IncanusUK commented 3 months ago

You have an error in your code:

}else if (LCDTimeout < millis() & !display_sleeping){//Turn screen off

i think you will need a double && for this if

Good catch.. what is a milli second between friends lol