I've created a web attached device which collects temperature, humidity, and a value ID number and graphs the values on an HTML page hosted on an sd card.
I'm using an Arduino UNO with the Ethernet Shield R3.
Upon boot I want to use TextFinder to find the last line of values written to TEMP.CSV in the format: 0,26.68,45.67 where 0 is the ID, 26.68 is the temperature and 45.67 is the humidity. There are hundreds of values in the CSV file. I want to capture the last line of values and pull the ID number before the first comma.
Is there a way to use TextFinder to find the last line of values then find the first number before the first comma?
I'm a bit stuck! Thanks in advance!