SDFat library - how to get work parseInt() ?

Working libraries, libraries being ported and related hardware
User avatar
Pito
Posts: 609
Joined: Sat Mar 26, 2016 3:26 pm
Location: Rapa Nui

Re: SDFat library - how to get work parseInt() ?

Postby Pito » Sat Feb 18, 2017 1:01 pm

What does it mean "code does not work" ??
Do not try to mess with complex sketches, instead try to go step-by-step.
Try the original example (my above code snippet is from) from the SdFat until it works perfectly. And after then you may play with the code.

https://github.com/greiman/SdFat/blob/m ... rseInt.ino

Also mind the C language requires some rules are followed. The file1 must be declared global, otherwise it will not be visible inside a function.
See my snippet above.

victor_pv
Posts: 945
Joined: Mon Apr 27, 2015 12:12 pm

Re: SDFat library - how to get work parseInt() ?

Postby victor_pv » Sat Feb 18, 2017 1:48 pm

stm32_discoverer wrote:But I don't see

Code: Select all

#define ARDUINO_FILE_USES_STREAM 1
in "SdFatConfig.h"


You said you had seen the link, tried it and didn't work, but then say you dont see that. Well that's exactly what was referred to in the link, so what had you tried from the link that did not work?

Also, why are you using the beta instead of the stable version?


Return to “Libraries & Hardware”

Who is online

Users browsing this forum: No registered users and 1 guest