Hi,
I used 2 modified examples to try to connect to my server every X minutes, fecth data from a file, parse the content of the file and .... the final purpose was to LIGHT a led according to the file contents.
I can't do that
On the attached file, there is a small portion of code that was supposed to get the data between "<" and ">"
So, I have a file on the server side called ardu.txt that just has one line with:
I would lime to have a rule to turn on a led (PIN 7) if the file content was OK and turn off if the file contect was different from OK.
loop_ok.pde (3.21 KB)