I used your code for Raspberry PI GPIOs
Hi,
I am writing an article on using the Snap! to program with the Raspberry Pi's GPIOs. I have borrowed heavily from your code, so I owe you some hearty thanks for that. If you would like to take a look, my stuff is at
https://github.com/pbrown66/snap-RPi
I am not a very good programmer, so if you would like to contribute or make it yours, please feel free. I will not have much time to pursue this after publishing the article. Besides, it is more a proof of concept for me.
Cheers
Paul
P.S.: I tried to contact you via your blog, but I kept getting a 404 error when I tried to post a comment.
@pbrown66 Hi! Sorry about not responding sooner, I didn't get a notification about this. :/
I'm glad you could make use of it (and that, apparently, you could actually run Snap! from a rPi :D). You may want to check out the updated version at http://github.com/blockext/mindstorms-nxt . Cheers!
Hi,
I have a Mindstorms (in theory it's my son's, but you know...) and I was curious about how this sort of thing worked, so I decided to take a crack at the Pi. BYOB does not work well on the Pi. It's terribly sluggish. But I thought it would be good to have the Pi as a server, serving BYOB and be able to access the GPIOs with a visual environment from any platform on which BYOB does work well.
Like Android.
With this kind of setup (lighttpd serving the JavaScript and the Python server to respond to the blocks) you can program your Pi's GPIOs from your phone.
I'm not sure how practical that is, but I thought it was cool, so I went with it. The related article will appear in Raspberry Pi Geek July.
@pbrown66 Whoa, neat! Looking forward to the article.