 | | Re: Variables on Lego Programming
|
|
(...) programming language. You can have one variable using the counter, using the add to counter and the repeatr for ... function to set a number and the counter sensor watcher to make the programm react when it gets high enough. You can't subtract (...) (26 years ago, 10-Jun-00, to lugnet.robotics)
|
| |
 | | Re: Scout NQC Programming
|
|
(...) That stuff is only in NQC beta at this time. It's not quite finished. Check back soon though... Try the NQC group. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (26 years ago, 10-Jun-00, to lugnet.robotics.scout)
|
| |
 | | Re: NQC 2.x event processing
|
|
(...) Not really a stack problem, just a control flow issue. On suggestion for the event handling was something like this: begin_events(EVENT_MASK, event_handler); // put code that executes during event monitoring here end_events event_handler: // (...) (26 years ago, 10-Jun-00, to lugnet.robotics.rcx.nqc)
|
| |
 | | Re: using the <remote> commmand in NQC
|
|
(...) Those are documented in the "LASM Byte Codes.pdf" file from the RCX 2 SDK (available at www.legomindstorms.com). I think the LASM command is actually 'remote', but I'm not sure. Dave Baum p.s. In general, if you want to dig into the details of (...) (26 years ago, 9-Jun-00, to lugnet.robotics.rcx)
|
| |
 | | Re: 9v Gear Motors
|
|
=>From: "Jerry Kalpin" <jdkalpin@sympatico.ca> =>... =>Dave, A shorted to B (disconnected from the battery) might work if the motor =>acts like a generator when you turn it. The motor *does* act like a generator when you turn it! Every once in a (...) (26 years ago, 9-Jun-00, to lugnet.robotics)
|
| |
 | | Re: Variables on Lego Programming
|
|
(...) Nope. Time for NQC. :) (26 years ago, 9-Jun-00, to lugnet.robotics)
|
| |
 | | Re: 9v Gear Motors
|
|
Ah, that's why it changes the speed. The motors have a flywheel so pulses of on/float with no motor load will not appreciably change the motor speed. The inertia of the flywheel keeps the motor running during the float times. However, pulses of (...) (26 years ago, 9-Jun-00, to lugnet.robotics)
|
| |
 | | Variables on Lego Programming
|
|
It is possible to program with variables (x=5, y=8) on the graphic enviroment of RIS? Regards (URL) (26 years ago, 9-Jun-00, to lugnet.robotics)
|
| |
 | | Re: 9v Gear Motors
|
|
Dave, A shorted to B (disconnected from the battery) might work if the motor acts like a generator when you turn it. But you try it. Even the smallest change in angle is resisted and with no spring-back. Un-motor-like. Jerry (...) (26 years ago, 9-Jun-00, to lugnet.robotics)
|
| |
 | | RE: 9v Gear Motors
|
|
Well I guess I'm not too surprised. As has been mentioned, PWM control is much more effective if it is driving a heavy load not a light one. This is exacerbated by the presence of the flywheel. When you turn off the electrical power and float the (...) (26 years ago, 9-Jun-00, to lugnet.robotics)
|