Mark D.
Mark D.
I'm not sure how that worked, because just changing settings in sntp_opts.h is not enough. For example if you lower the SNTP_UPDATE_DELAY to something lower than the default 1 hour...
I think part of the ambiguity is that most of the sntp routines reside in the precompiled library liblwip.a but the routine of interest (SNTP_SET_SYSTEM_TIME_US) is a macro that resides...
You had wifi started? ADC2 is used by wifi, don't start wifi and measure again.
Works as expected here on wroom and wrover modules. Either the pin is not set as an output or something else is using the pin (lora module on m5 uses...
I don't have any m5 boards, but I would try not using M5.begin(); and using just Serial.begin(115200); if you need serial. M5.begin(); is just a wrapper around initializing the display,...
If you mean physical pin 14 on the module, then that is GPIO12 and pinMode() and digitalWrite() take the gpio number as the first argument, not the physical pin: ```c...
In the version you posted just above, its setting #define FORMAT_FILESYSTEM true so its formatting your filesystem every time it runs.
Set it to false, reflash sketch, re-run sketch data upload.
Dude, no one is closing any issues. @lbernstone simply put up a pull request that fixes the issue with it formatting the filesystem.
Its fairly easy in an esp-idf project but I also had luck with ulptool https://github.com/duff2013/ulptool.git