Hi all,
I have a PICAXE connected to a weather station system, and it grabs data into variables.
Now I've written a PHP script that is called as follows:
add.php?light=XXX&moisture=XX&temp=XXX&password=XYZ
etc, and it adds the data to a MySQL database.
I know the PICAXE can compile the string and insert the relevant variable values in the right places, but what's the easiest way of connecting it to a network so it can actually call the script over the internet?
The script can return '0' for fail and '1' for success; is there any way of the PICAXE picking this value up to know whether it's attempt was successful?
Jon
I have a PICAXE connected to a weather station system, and it grabs data into variables.
Now I've written a PHP script that is called as follows:
add.php?light=XXX&moisture=XX&temp=XXX&password=XYZ
etc, and it adds the data to a MySQL database.
I know the PICAXE can compile the string and insert the relevant variable values in the right places, but what's the easiest way of connecting it to a network so it can actually call the script over the internet?
The script can return '0' for fail and '1' for success; is there any way of the PICAXE picking this value up to know whether it's attempt was successful?
Jon