Reduce frequence of ESP32 to 80Mhz
This commit is contained in:
@@ -403,6 +403,9 @@ void homieLoop()
|
||||
*/
|
||||
void setup()
|
||||
{
|
||||
/* reduce power consumption */
|
||||
setCpuFrequencyMhz(80);
|
||||
|
||||
Serial.begin(115200);
|
||||
Serial << endl
|
||||
<< endl;
|
||||
|
||||
Reference in New Issue
Block a user