The Spinneret workaround
ProcessingData...
Posts: 208
Today I found myself with enough money to buy a Spinneret.
Unfortunately, I'm off to a Family Reunion in a few days, and wouldn't be at home if I ordered it now.
Pining away for a Spinneret, I did the next best thing:
I made a socket listener using a bit of Python, and hooked it up to the serial port on my computer!
The Server is here: http://propeller.dyndns-ip.com:5007
Here is a link to the code for the Python Socket listener (it requires the pySerial module):
http://dl.dropbox.com/u/22048762/main.py
and Attached is the spin code for the server on the propeller.
Enjoy!
Unfortunately, I'm off to a Family Reunion in a few days, and wouldn't be at home if I ordered it now.
Pining away for a Spinneret, I did the next best thing:
I made a socket listener using a bit of Python, and hooked it up to the serial port on my computer!
The Server is here: http://propeller.dyndns-ip.com:5007
Here is a link to the code for the Python Socket listener (it requires the pySerial module):
http://dl.dropbox.com/u/22048762/main.py
and Attached is the spin code for the server on the propeller.
Enjoy!
spin
3K
Comments
-Phil
I've never tried to implement an HTTP server before, so this was a first for me.
I've found Python to be very useful and versatile, and Spin takes after many of it's best features.
'
Well done.
'
45 Minutes is what I'm taking about.
'
I might have to take a second look at Python.
'
Thanks for sharing
I'm glad that my work is of some use!
OBC