Hi friends I am using SD card for data logging! I want to read some parameters in a file below is the example of data in my file!
mode:IR
15/5/2016
14:33ýInitializing SD card...initialization done.
6.txt:
mode:IR
15/5/2016
14:33
Vset:1000
voltageFinal:1001
Ifinal:6.46nA
IR=154.959
Time selected=60
voltage:0,793,793,793,1002,1002,1002,1002,1002,1002,1001,1001,1001,1003,1003,1003,1002,1002,1002,1001,1001,1001,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1001,1001,1001,1001,1001,1001,1003,1003,1003,1002,1002,1002,1002,1002,1002,1002,1002,1002,1001,1001,1001,1003,1003,1003,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1002,1001,1001,1001,1003,1003,1003,1002,1002,1002,1002,1002,1002,1002,1002,1002,1001,1001,1001,1002,1002,1002,1003,1003,1003,1003,1003,1003,1002,1002,1002,1001,1001,
current:10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,10.00,
IR0.0010^0,121.8110^9,121.8110^9,121.8110^9,152.0510^9,152.0510^9,152.0510^9,152.0510^9,152.0510^9,152.0510^9,150.3010^9,150.3010^9,150.3010^9,151.0510^9,151.0510^9,151.0510^9,151.8210^9,151.8210^9,151.8210^9,150.0710^9,150.0710^9,150.0710^9,152.0510^9,152.0510^9,152.0510^9,150.9010^9,150.9010^9,150.9010^9,152.2810^9,152.2810^9,152.2810^9,151.1310^9,151.1310^9,151.1310^9,150.5310^9,150.5310^9,150.5310^9,151.9010^9,151.9010^9,151.9010^9,151.9710^9,151.9710^9,151.9710^9,150.6810^9,150.6810^9,150.6810^9,152.0510^9,152.0510^9,152.0510^9,152.0510^9,152.0510^9,152.0510^9,151.6710^9,151.6710^9,151.6710^9,153.6010^9,153.6010^9,153.6010^9,152.0510^9,152.0510^9,152.0510^9,152.7410^9,152.7410^9,152.7410^9,152.2810^9,152.2810^9,152.2810^9,154.1510^9,154.1510^9,154.1510^9,153.9210^9,153.9210^9,153.9210^9,152.7410^9,152.7410^9,152.7410^9,153.6810^9,153.6810^9,153.6810^9,152.9810^9,152.9810^9,152.9810^9,153.4510^9,153.4510^9,153.4510^9,152.5110^9,152.5110^9,152.5110^9,153.2110^9,153.2110^9,153.2110^9,151.6710^9,151.6710^9,151.6710^9,153.6010^9,153.6010^9,153.6010^9,153.6810^9,153.6810^9,153.6810^9,153.4510^9,153.4510^9,153.4510^9,152.2810^9,152.2810^9,152.2810^9,153.5310^9,153.5310^9,153.5310^9,154.3910^9,154.3910^9,154.3910^9,152.9010^9,152.9010^9,152.9010^9,154.5510^9,154.5510^9,154.5510^9,154.3910^9,154.3910^9,154.3910^9,154.9510^9,154.9510^9,
Now I can serially print this by using Serial.write But as U can see if I want to read mode and i want to take that IR out how can I do that? as if I try to compare by putting this all in char array I get ascii values but how to get it in ascii like serial.write?
Basically I just want to read those different values like What is Vset value and V and what was date and those set of IR values how can I do that?
Please guide me any help will be appreciated