 | | broken "b" port on RCX 1.0
|
|
ive had my mindstorms kit for a while but never have programmed with a computer....its been sitting in the closet for a while.....now when i have an inspiration to build something and take it out, i discover that the "b" port for the motor doesn't (...) (26 years ago, 28-Mar-00, to lugnet.robotics.rcx)
|
| |
 | | Re: VB 6 subprocedure stumper
|
|
Hi Kathy, No, Sub 0 shouldn't interfere with Task 0. If you want, you could e-mail me the code and I'll take a look at it. David Leeper (...) here: (...) program (...) (26 years ago, 27-Mar-00, to lugnet.robotics.rcx)
|
| |
 | | Re: VB 6 subprocedure stumper
|
|
David: Thanks for the tips - I really appreciate any pointers/help I can get. Actually, if I abandon the idea of subprocedures and move the code within my main task, it runs just fine. However, the whole idea of this "lesson" is to use subprocedures (...) (26 years ago, 27-Mar-00, to lugnet.robotics.rcx)
|
| |
 | | Re: VB 6 subprocedure stumper
|
|
Hi Kathy, My first question would be "What are the values of CHECK_LEFT and CHECK_RIGHT?" If they're the same, that would produce the behavior you're getting. I know I often make a mistake like that when I copy and paste a line of code. You also may (...) (26 years ago, 27-Mar-00, to lugnet.robotics.rcx)
|
| |
 | | VB 6 subprocedure stumper
|
|
I sure could use some help. I'm trying to recreate the BugBot program from the book "Definitive Guide to Lego Mindstorms" in VB 6. It's a simple program with a tank-like robot that has two "feelers" - one if the robot hits something on the right; (...) (26 years ago, 27-Mar-00, to lugnet.robotics.rcx)
|