Hey everyone. Im working on a project using temperature sensors. the sensors automatically store the temperature in a file as the 21st element in that file in the form t=(temp).
I am trying to read the file into an array and access the 21st element of that array. then write that back to a seperate file. However, am unable to open the file according to my code as it returns the else statement.