Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Config on SD card

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR-DOS
View previous topic :: View next topic  
Author Message
Tubeampman

Bascom Member



Joined: 27 Feb 2006
Posts: 97
Location: Bodo

norway.gif
PostPosted: Tue Sep 01, 2020 1:15 pm    Post subject: Config on SD card Reply with quote

Hi

I want to setup a textfile on a SD-card wich contains configuration info.

Lets say i set up three stringvariables A, B and C.

Now i want to open the textfile and read the first line into variable A, the second line into variable B and the third line into variable C.

Can someone please help me with this would it be great.


Best Regards
Řyind
Back to top
View user's profile
Tubeampman

Bascom Member



Joined: 27 Feb 2006
Posts: 97
Location: Bodo

norway.gif
PostPosted: Tue Sep 01, 2020 1:23 pm    Post subject: Reply with quote

Hi

I see there has already been a topic about this so am going to answer myself with help of the other thread Smile Smile



Line Input #1 , string A
Line Input #1 , string B
Line Input #1 , string C


Řyvind
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR-DOS All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum