WARNING: Lego_listing is still having some problems with correctly displaying user variables, times and rotation values! |
This page tries to generate a reasonable, printer friendly, version of a Lego MindStorms Robotics Invention System (RIS) program. The goal is to get a printable version of a RIS/RCX program that looks similar to what you see in the MindStorms RIS software. To Use:
You probably don't want to use the "Include Events Listings" option unless you want to see cryptic details of how things are linked in the RIS code. If you have a color printer you may want to set your browser to print background colors and images. This will show the highlighting for loops and decision (yes/no) blocks. (Thanks to HMB for the printing suggestion!)
Known Problems: Yes/No blocks display in a format that a programmer will understand but differently than the way they display in RIS. Hopefully you can figure it out. The RIS software stores numbers in several formats, rotation and light values are stored as expected, but times are stored as 1/100ths of a second and user values are stored as 1/10ths. I think I have the rotation, light, time, and user values displaying correctly. If you find a problem with the way numbers are displayed please let me know. Send me an Email if you find this useful or if you have any suggestions. Jim Sluka Thanks to everyone who have sent in suggestions, in particular CK and HMB.
Disclaimer: |