I am reading a text file which has numbers in. Each number has its own line, and I can read them in and display them using a println fine. But I am trying to convert them to an integer array so that I can then use the numbers coming in.
String lines[] = loadStrings("movements.txt");
for (int i = 0 ; i < lines.length; i++) {
println(lines[i]);
delay(100);
}
How about
I believe you want to do something like the following: