Hi, Scratch for arduino (S4A) http://seaside.citilab.eu/scratch/android has an amazing capabilitie.
To them is possible to send messages and remote sensors values from a web browser. The usage would be as follows (for example if the IP of PC is 192.168.1.2). Also in this case you must enable the remote sensors option in S4A:
- For messages: http://192.168.1.2:42001/broadcast=hello
- For remote sensors: http://192.168.1.2:42001/sensor-update=number=1
How can I moddify Scratch to do this possible??
Offline
Well, I think the best way would be to run an external Python server which interfaces with Scratch. I can help you, if you want.
Offline
Well, the problem here is I have a wifi board. I wanna send messages to Scratch but I can't program the protocol in C. :-/
Because i can't convert the char message[] to bytes.
Can you help me with that??
Offline