Dear Admin,
Thank You for your reply.
Whats is your ESP32 board model exactly?
Sincerely,
I think it is not the right solution, but i disabled some codes with //
[code]
void setup() {
Serial.begin(115200);
//slowDownCpu();
pinMode(ONBOARD_LED_PIN, OUTPUT);
dht.setup(DHT_PIN, DHT_TYPE);
setUpWifi();
}
//void slowDownCpu() {
//rtc_clk_cpu_freq_set(RTC_CPU_FREQ_160M);
//uart_tx_wait_idle(0);
//int clockspeed = rtc_clk_cpu_freq_get();
//char* clockSpeeds[5] = {“XTAL”, “80Mhz”, “160Mhz”, “240Mhz”, “2Mhz”};
//Serial.print(“Setting CPU freq to: “);
//Serial.println(clockSpeeds[clockspeed]);
//Serial.println(“”);
//}
[/code]
It worked.
Does anyone know the right solution?
Yes same problem:
Board ESP-Wroom-32
I try the sketch temparature sensor only.
rtc_clk_cpu_freq_set’ was not declared in this scope
Need an urgent solution if possible.
Sincerely,