 | | Lego in trouble
|
|
(URL) ===...=== Glenn Holmer (Linux registered user #16682) ===...=== Don't say that you have no choice With no one to hear your voice You can shout and make no sound Or whisper up a storm ===...=== -Robin Trower, 1994 ===...=== (22 years ago, 10-Jan-04, to lugnet.robotics)
|
|
 | | Re: The BrickOS Task Manager
|
|
(...) This works. Steve ---- #include <unistd.h> #include <dbutton.h> #include <dmotor.h> int MotorSpeed = 0; int RunMotor() { while (!shutdown_requested()) { motor_a_dir(MotorSpeed); } return 0; } int CheckButton() { while (!shutdown_requested()) { (...) (22 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: Design by Contract (long post)
|
|
Thanks, Tim. I haven't used the #x idiom myself - I like it. Your implementation with the boolean: (...) Will need an extra level of parenthesis surrounding the bool so that its declaration scope is made local. You can certainly go to town with this (...) (22 years ago, 10-Jan-04, to lugnet.robotics.rcx, FTX)
|
|
 | | Re: Implementation of Installable Timers
|
|
(...) I'd go with the flag, myself. (...) Its certainly possible for the client timer to reinsert itself - therefore the recurring timer is not strictly required. It could be left out for space reasons. I'd probably either take it out and make it (...) (22 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: The BrickOS Task Manager
|
|
(...) Sorry, I'm still just not getting it at all. I have type errors all over the place trying to pass arguments to my task. Could someone please simply email me or post an example of a program that starts, runs two or more threads, and will (...) (22 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: Spybot on shop@home
|
|
(...) I agree! I went for the shop@home offer (in the Netherlands, they are 45 euros) and got me a SnapTrax. It is a blast to play with - even when just using the remote control to drive it around (chasing cats...). I just finished my first official (...) (22 years ago, 9-Jan-04, to lugnet.robotics.spybotics)
|
|
 | | Brickos fun and games!
|
|
Hello. I have finally got gcc 2.95.3 - the official brickos compiler - installed on my computer (SUSE Linux). I can type "make" and compile all the brickos directory fine. firmdl3 works fine. BUT, dll doesn't seem to work. When I use dll to download (...) (22 years ago, 9-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: The end of an all-too-brief era
|
|
(...) Following up with Spectrum in Ontario, Canada ...yes, they do have a lot of Mindstorms stuff and they will sell to the public. Here is their reply: Dear Jerry, Thank you for your interest in Spectrum Educational Supplies. We do carry Lego (...) (22 years ago, 9-Jan-04, to lugnet.robotics)
|
|
 | | Re: Implementation of Installable Timers
|
|
(...) It would seem reasonable to check the location of the struct; if in kernel memory, don't remove; if in user memory, remove. However, you could add a flag to the timer struct which could use T_KERNEL and T_USER flags. (...) I looked quickly (...) (22 years ago, 9-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: ...2 years later... :-) (was: newbie again part 2)
|
|
Hello, and thanks for the reply. In lugnet.robotics.rcx.nqc, Dave Baum wrote: . . . (...) That's where I thought it was, but who knows. I'll continue the quest. Thanks again -- as always I am impressed how easy it is on the Net to get to the roots (...) (22 years ago, 9-Jan-04, to lugnet.robotics.rcx.nqc)
|