Hi everyone I need to read data from cvs file and sent it via bluetooth to arduino
I have a file with data to turn off/on a led with timing
so data in file look like this :
ON-2(sec)
OFF-3
ON-5
OFF-4
and for the app I need two buttons one for connet and other to send data to arduino



but the problems is arduino receive data like [""ON,2,]],OFF..... but I want it to sent data like ON then it will sent the time like 2 then OFF then 3, and I dont know how to sent data like for loop one by one
Please if you understand my probleme hepl me
thanks in advance