Finished code for Lego robot
If anyone's interested, here is the finished code for Leinad Legobot. The new 4000 routine detects touch sensors to make the forklift stop at its upper/lower limits, rather than keep moving even though there's no place to go. We couldn't get it working with the optical sensors (various reasons) so I called an audible to switch to the touch sensors. That works much better. Kudos to Dan for perfecting the code behind this. Kudos also to Paul H. for teaching me (several versions ago) what was wrong with my joystick navigation code. Plain text version: http://www.vcfed.org/evan/lego/robot.txt Easy-on-the-eyes version: http://www.vcfed.org/evan/lego/robot.pdf My plan now is bring this to Trenton, exhibit it at Southeast, expand it into a game at Kfest (if I can go), and then make it the centerpiece of the permanent Lego learning station in our museum. I'll make a big kid-friendly flow chart poster to go with that last part. ________________________________ Evan Koblentz, director Vintage Computer Federation a 501(c)3 educational non-profit evan@vcfed.org (646) 546-9999 www.vcfed.org facebook.com/vcfederation twitter.com/vcfederation
Very nice.
Thanks Doug.
I'd say you have the software "bug" now, yes?
I see what you did there... I got the (ahem) bug 30 years ago. But in seventh grade I didn't have any mentors, and I couldn't find any use for making a program other than dumb things in the generic BASIC book that my parents book me. It was all boring stuff like organize your recipes blah blah blah. If I had this Lego kit back then, then maybe my career would have turned out different! It would have been much more inspiring.
On 3/7/2017 9:01 PM, Evan Koblentz via vcf-midatlantic wrote:
Very nice.
Thanks Doug.
I'd say you have the software "bug" now, yes?
I see what you did there...
I got the (ahem) bug 30 years ago. But in seventh grade I didn't have any mentors, and I couldn't find any use for making a program other than dumb things in the generic BASIC book that my parents book me. It was all boring stuff like organize your recipes blah blah blah.
If I had this Lego kit back then, then maybe my career would have turned out different! It would have been much more inspiring. Better late than never- keep at it! You worked through some important fundamentals on that project.
On 03/07/2017 08:01 PM, Douglas Crawford via vcf-midatlantic wrote:
Well- "You've come a long way baby!" Very nice. I'd say you have the software "bug" now, yes?
Perhaps it's just a feature ;-) -- Linux Home Automation Neil Cherry ncherry@linuxha.com http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies
participants (3)
-
Douglas Crawford -
Evan Koblentz -
Neil Cherry