– handy little webserver

[updated 25Sep15]

I recently had an idea to allow Scratch to receive broadcasts from a simple web app but couldn’t find a nice small webserver for the job

@fth_nix suggested Bottle and it does just the job I need as all I had to do was put into my ScratchGPIO folder

This code

will let you type in some text and send it off to Scratch running on the same machine (as long as Remote Sensor Connections are enabled) where it will be received as a broadcast message that you can listen out for.




You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *