qiweimao / ESP32-Datalogger

The ESP32 Data Logger is a cost efficient data acquisition system that supports vibrating wire sensors and other sensors with RS-485, TTL protocol.
0 stars 0 forks source link

sscanf cause undetermined problems, while charArray works just fine #12

Closed qiweimao closed 1 month ago

qiweimao commented 1 month ago

Read about memory fragmentation here: https://www.reddit.com/r/esp32/comments/z0jbwa/esp32_and_string_objects/

Looks like it is better to avoid dynamic memory allocation on embedded systems?