Reading from a file and sent data to Arduino

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


Capture2
Capture3
Capture4

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

Use "Replace all text" block.

Here an example:

1 Like

Wow finally
Thank you so much
please one last thing which type of cvs you use for file

CCV DOS
CSV Macintoch
CSV separator

rutina2.csv this content:
bt_28

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.