Hey everyone,
I'd like to read a txt.file which contains 5 values ( each in a different line) and then declare those as (integer) variables and use them for delays() and if and while commands later. How can I do that?
Thanks a lot in advance!
Hey everyone,
I'd like to read a txt.file which contains 5 values ( each in a different line) and then declare those as (integer) variables and use them for delays() and if and while commands later. How can I do that?
Thanks a lot in advance!
I'd like to read a txt.file which contains 5 values
OK. We'll approve that.
and then declare those as (integer) variables
No, sorry. We can't approve that. You can't declare variables at run time. You can ASSIGN the values to variables.
How can I do that?
Double click the Arduino IDE icon, and start typing.
Very recently I was trying to do the same thing.
I have since been able to write a function o do it.
As a starting point look at my thread on the issue which was my starting point.