Search found 2 matches

by postpiet
Thu Dec 21, 2023 1:31 pm
Forum: ESP-IDF
Topic: ESP-IDF precision of double limited to 7 decimal places?
Replies: 6
Views: 2451

Re: ESP-IDF precision of double limited to 7 decimal places?

Code: Select all

ESP_LOGI("gps decode v2", "what is p for lat %s, what is atof(p) %.7f, atof(p)/100 %10lf, templat %lf",p,atof(p),atof(p)/100,temp_lat);
%.7f and %.7lf is the same. If the conversion from string to double is good than it won't be necessary to divide the number to a smaller one.
by postpiet
Thu Dec 21, 2023 12:58 pm
Forum: ESP-IDF
Topic: pppos_client with lilygo 7000g
Replies: 0
Views: 1760

pppos_client with lilygo 7000g

Hello, My code is an edit version of the pppos_client example: https://github.com/espressif/esp-protocols/tree/a6845f4cddac36cf5ce2a68e077231fede359800/components/esp_modem/examples/pppos_client Here is my code in the platformio ESPIDF format: https://github.com/Jorin-Post/ESPIDF_PPP_MQTTs Tried to ...