Search found 90 matches

by tele_player
Sun Nov 05, 2017 5:35 pm
Forum: General Discussion
Topic: Parsing File's timestamp on a SD card
Replies: 8
Views: 4225

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...
by tele_player
Sat Nov 04, 2017 4:07 pm
Forum: General Discussion
Topic: Parsing File's timestamp on a SD card
Replies: 8
Views: 4225

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
by tele_player
Sat Oct 28, 2017 6:44 pm
Forum: General Discussion
Topic: Method to catch ill-formed json string with cJSON_Parse
Replies: 6
Views: 3118

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?
by tele_player
Sat Oct 28, 2017 2:54 am
Forum: General Discussion
Topic: Method to catch ill-formed json string with cJSON_Parse
Replies: 6
Views: 3118

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?
by tele_player
Fri Oct 27, 2017 10:18 pm
Forum: General Discussion
Topic: Method to catch ill-formed json string with cJSON_Parse
Replies: 6
Views: 3118

Re: Method to catch ill-formed json string with cJSON_Parse

Do you know what is ill-formed in your JSON string?
by tele_player
Mon Oct 23, 2017 5:21 pm
Forum: ESP32 Arduino
Topic: 128kSPS fast ADC data logging and processing
Replies: 1
Views: 1986

Re: 128kSPS fast ADC data logging and processing

Is this a school assignment?
by tele_player
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: 2107

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.
by tele_player
Sat Oct 07, 2017 10:30 pm
Forum: ESP32 Arduino
Topic: Rising Edge Pin Interrupt on UART Rx
Replies: 5
Views: 2857

Re: Rising Edge Pin Interrupt on UART Rx

Interesting. I have 2 BMWs...
by tele_player
Fri Oct 06, 2017 2:57 am
Forum: ESP32 Arduino
Topic: Rising Edge Pin Interrupt on UART Rx
Replies: 5
Views: 2857

Re: Rising Edge Pin Interrupt on UART Rx

What is this for?
by tele_player
Thu Oct 05, 2017 11:27 pm
Forum: ESP32 Arduino
Topic: File System (SPIFFS): Simultaneous r/w does not work
Replies: 2
Views: 2184

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...

Go to advanced search