Reduce frequence of ESP32 to 80Mhz

This commit is contained in:
Ollo
2021-04-07 21:57:00 +02:00
parent 902c863873
commit b8b8cf84d5
2 changed files with 3 additions and 1 deletions

View File

@@ -403,6 +403,9 @@ void homieLoop()
*/
void setup()
{
/* reduce power consumption */
setCpuFrequencyMhz(80);
Serial.begin(115200);
Serial << endl
<< endl;