Search found 90 matches
- Sun Nov 05, 2017 5:35 pm
- Forum: General Discussion
- Topic: Parsing File's timestamp on a SD card
- Replies: 8
- Views: 10466
Re: Parsing File's timestamp on a SD card
This small change should produce your Berlin time, ignoring DST. setenv("TZ", "Europe/Berlin1", 1); To convert a time stamp with a known time zone to UTC is a bit more difficult, as you need a table of time zones and offsets, or you need to query the internet. Look at Wikipedia ‘tz database’ for mor...
- Sat Nov 04, 2017 4:07 pm
- Forum: General Discussion
- Topic: Parsing File's timestamp on a SD card
- Replies: 8
- Views: 10466
Re: Parsing File's timestamp on a SD card
TZ environment variable is not formatted correctly.
https://github.com/espressif/newlib-esp ... me/tzset.c
https://github.com/espressif/newlib-esp ... me/tzset.c
- Sat Oct 28, 2017 6:44 pm
- Forum: General Discussion
- Topic: Method to catch ill-formed json string with cJSON_Parse
- Replies: 6
- Views: 8336
Re: Method to catch ill-formed json string with cJSON_Parse
In both those cases, cJSON_Parse didn’t crash (they successfully returned), so what did?
- Sat Oct 28, 2017 2:54 am
- Forum: General Discussion
- Topic: Method to catch ill-formed json string with cJSON_Parse
- Replies: 6
- Views: 8336
Re: Method to catch ill-formed json string with cJSON_Parse
cJSON_Parse should return 0 on a failed parse. Did you check it’s return value?
- Fri Oct 27, 2017 10:18 pm
- Forum: General Discussion
- Topic: Method to catch ill-formed json string with cJSON_Parse
- Replies: 6
- Views: 8336
Re: Method to catch ill-formed json string with cJSON_Parse
Do you know what is ill-formed in your JSON string?
- Mon Oct 23, 2017 5:21 pm
- Forum: ESP32 Arduino
- Topic: 128kSPS fast ADC data logging and processing
- Replies: 1
- Views: 4802
Re: 128kSPS fast ADC data logging and processing
Is this a school assignment?
- Fri Oct 13, 2017 8:09 pm
- Forum: ESP32 Arduino
- Topic: Ucglib: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'volatile uint8_t*
- Replies: 1
- Views: 5463
Re: Ucglib: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'volatile uint8_t*
You're using a version of the library that hasn't been ported to ESP32, or hasn't been ported correctly.
- Sat Oct 07, 2017 10:30 pm
- Forum: ESP32 Arduino
- Topic: Rising Edge Pin Interrupt on UART Rx
- Replies: 5
- Views: 8443
Re: Rising Edge Pin Interrupt on UART Rx
Interesting. I have 2 BMWs...
- Fri Oct 06, 2017 2:57 am
- Forum: ESP32 Arduino
- Topic: Rising Edge Pin Interrupt on UART Rx
- Replies: 5
- Views: 8443
Re: Rising Edge Pin Interrupt on UART Rx
What is this for?
- Thu Oct 05, 2017 11:27 pm
- Forum: ESP32 Arduino
- Topic: File System (SPIFFS): Simultaneous r/w does not work
- Replies: 2
- Views: 7077
Re: File System (SPIFFS): Simultaneous r/w does not work
Those three defines aren't enough to properly use files. At the least, a few more should be added. The Arduino library passes the text ("r", "w", etc.) to the SDK open() function, which actually implements the file mode semantics of POSIX fopen(), so you can use "w+", "r+", etc. It's important to re...