 | | Motor Display
|
|
For some silly reason, I was browsing through the BrickOS code and I noticed this: void motor_a_dir(MotorDirection dir) { dm_a.dir = dm_a_pattern[dir]; dlcd_hide(LCD_A_LEFT); dlcd_hide(LCD_A_RIGHT); if (dir == fwd || dir == brake) (...) (23 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: nop in NQC?
|
|
(...) you may try something like this: On(OUT_A+OUT_C); On(OUT_A+OUT_C); Off(OUT_A+OUT_C); or if you're looking for speed control, you could try: if (speed>5) On(OUT_A+OUT_C); else Off(OUT_A+OUT_C); if (speed>4) On(OUT_A+OUT_C); else (...) (23 years ago, 5-Jan-04, to lugnet.robotics)
|
| |
 | | Re: Does RIS2.0 set use the fiber optics cable?
|
|
"Luke W" <lwenke@dont_spam_me...tmail.com> wrote in message news:Hr03BI.1Bsz@lugnet.com... (...) Look right. I can't find any use for it in the instructions either. (...) of (...) In my RIS 2.0 set it is actually 25L (25 studs) long. What is the (...) (23 years ago, 5-Jan-04, to lugnet.robotics.rcx)
|
| |
 | | Re: nop in NQC?
|
|
(...) Try this: int i; i = i; Kevin (23 years ago, 5-Jan-04, to lugnet.robotics)
|
| |
 | | nop in NQC?
|
|
Is there a NQC command that will translate to a simple nop bytecode? I'm looking for a way to do fine-precision timing, and frankly checking a timer takes too long. For very fine motor control, I'm trying to use sequences like: On(OUT_A+OUT_C); (...) (23 years ago, 5-Jan-04, to lugnet.robotics)
|