Go Down

Topic: Loading Config file from SD (Read 848 times) previous topic - next topic

gcharles

I would like to ask if someone can help me , i would like to load a simple configuration txt file to the arduino from sd
inside the file there it will be like below.

Timer 1 = ON
Timer 2 = OFF
Timer 3 = OFF

I just want to load the timer name and the ON / OFF status than update accordingly

I am using library   #include <SD.h>


thanks in advance

SurferTim

I use the SD card to hold my ethernet shield network setup. Maybe that will give you some ideas.
http://forum.arduino.cc/index.php?topic=128763.msg976118#msg976118

gcharles

Thanks Tim

but in my case it does not work since cannot accept a description to the parameter

thanks

PaulS

Quote
it does not work

What doesn't work? The code you didn't post? The SD card you didn't post a link to? The SD reader you didn't post a link to?

SurferTim

Didn't you notice how I used sscanf to split up the character arrays? Change that to meet your requirements. I'm not going to do all your work without some type of financial reward.  ;)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy