I think this is related to the Attenuation setting, the old code accepted 11db, the new wants 12db.
regards
Search found 2 matches
- Sun Apr 27, 2025 4:37 am
- Forum: ESP-IDF
- Topic: ADC legacy vs OneShot
- Replies: 2
- Views: 2255
- Sat Oct 10, 2020 10:00 pm
- Forum: ESP32 Arduino
- Topic: Best NTP-Time library for ESP32?
- Replies: 15
- Views: 49904
Re: Best NTP-Time library for ESP32?
Hi all, tried a slight modification of the above code for an overnight test and it gained about 3 minutes..
/*
* dw from https://esp32.com/viewtopic.php?f=19&t=5188&p=60278&hilit=sntp#p60278
*/
#include <WiFi.h>
#include <esp_sleep.h>
#define NTP_SRV "au.pool.ntp.org"
#define NTP_CYCLE 300 ...
/*
* dw from https://esp32.com/viewtopic.php?f=19&t=5188&p=60278&hilit=sntp#p60278
*/
#include <WiFi.h>
#include <esp_sleep.h>
#define NTP_SRV "au.pool.ntp.org"
#define NTP_CYCLE 300 ...