To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *1520 (-20)
  Re: RCX onboard timer and motor pulsing
 
(...) For fun, with a second sensor you can make a gouvenor, which takes it speed from the track, and with a third motor you can change the gouvenor setting :-). It works reasonably with the ligth sensor as well. Then it is analog. But I found the (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: RcxCC Editor
 
Actually, additional to this, it seems to be caused by colouring of keywords. I've turned that off and the problem has gone away. -- Mark R www.markrendle.co.uk Mark Rendle <rendle2000@hotmail.com> wrote in message news:Fnv5uJ.J2r@lugnet.com... (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: What should be in the next version of RcxCC
 
(...) Maybe this was already posted: the color coding doesn't work for multiline macros. (because of that, I thought for a while that they weren't even legal in NQC!) thanks /Vlad (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: RCX onboard timer and motor pulsing
 
A few (Hah!) years ago we used to get that realistic slow train speed by running our Lionel "O" gauge and American Flyer engines on DC. We used an AC Gilbert rectifier that was a full-wave selenium unit. By adding a switch we made it be only (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: RCX onboard timer and motor pulsing
 
(...) PWM stands for "pulse width modulation". The LEGO speed control changes voltage as you turn the knob. An RCX turns the motor on and off really fast but always supplies full voltage. So half speed is a 50% duty cycle of full power, rather than (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
 
  Emulating arrays in NQC
 
Hi all! as I promised earlier, I am posting the code I've written to emulate arrays. I tried to make it general, but it's difficult to do without compiler support. Right now it implements a 32 items array of 4 bit variables. It can be quite easily (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC wishlist
 
(...) I think 1 and 2 are the ones that would be really needed. 2 would be useful in writing macros to emulate arrays or "small" variables. But maybe there will be support for that in the compiler... cheers /Vlad (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: RCX onboard timer and motor pulsing
 
Hi Ben, I think I missed something here. What is "PWM mode"? What language are you programing in? And what is the "internals page"? Thanks so much for pursueing this! I did pick up the Unofficial Guideo to LEGO MS Robots by Jon Knudsen but only (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: Problems with RCX Robolab and PowerMacs 6400/200 and 5500/225
 
Thanks for the reply, I really enjoyed your book. My son (age 13) also enjoyed it. He's starting out using ROBOLAB, but your book has sparked an interest in C (like) programming. I look forward to a sequel. (...) (25 years ago, 6-Jan-00, to lugnet.robotics, lugnet.robotics.edu, lugnet.robotics.rcx.robolab, lugnet.edu, lugnet.robotics.rcx)
 
  NQC beta test release policy
 
As this is my first post to this newsgroup, I thought I'd start by saying how wonderful I think nqc is etc. I got the RIS 1.5 for xmas and had nqc up and running in no time on my linux system. As well as being an excellent language and bytecode (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: RCX onboard timer and motor pulsing
 
(...) I was just experimenting with this a few days ago. An RCX using PWM does a far better job of driving the LEGO train motors than the simple variable voltage from the LEGO train control. You can make a train creep around just above stall speed (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: NQC wishlist
 
(...) That would still be handy. Just the other night I was readying some NQC for distribution and I had: #define FOO_SENSOR SENSOR_2 and what I wanted to do was (beyond the user configurable part): #define DISPLAY_FOO DISPLAY_ ## FOO_SENSOR so I (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC wishlist
 
Dave, So far, I've lived without ##, and I'm quite sure I can live without 4) and 5). And can't 3) be replaced in many cases by arithmetic? In my brief stint programming "lego assembler" for the Scout, (Assembler! I'm embarrassed to admit how far (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC wishlist
 
(...) I took a good look at the preprocessor code, and it shouldn't be too hard to implement ## aside from the problem of recovering original token text. Adding support for remembering the original token text is easy to do if you're willing to be a (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: Problems with RCX Robolab and PowerMacs 6400/200 and 5500/225
 
Sigh.... ... . How the $%^&* will we ever get smart, interested, technical professionals to really make a difference in the schools when they run into this. THis. This...! Sigh... I am using RIS1.0 on 6 old 486 machines with WIN95. The school was (...) (25 years ago, 6-Jan-00, to lugnet.robotics, lugnet.robotics.edu, lugnet.robotics.rcx.robolab, lugnet.edu, lugnet.robotics.rcx)
 
  Re: (no longer Failed) Getting LegOS 0.2.2 working on Windows
 
Salve Paolo, Yahoooo! It finally works. After applying the the patch file you sent me by e-mail, everything seems to work now. Thank you all for your great help. Ciao, Carsten (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: NQC wishlist
 
(...) If I were to implement it, I probably wouldn't add a second pass. The real obstacle at present is that the literal text for a token cannot always be recovered after it leaves the lexer. For example, '01' and '1' both leave the lexer as an (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: (Failed) Getting LegOS 0.2.2 working on Windows
 
(...) error (...) I think that it's the usual "\n" problem of *nix. (...) helloworld.lx (...) I will send the file in attach directly to your E-Mail address to check that all patches are in the right place. (...) I've just tried and it works... I (...) (25 years ago, 5-Jan-00, to lugnet.robotics.rcx.legos)
 
  a problem of legOS-0.2.2 on Windows95
 
Hello. I have a problem of makefile. Perfectly I followed this instruction (URL) erased all tabs. But a result is following... BASH.EXE-2.02$ make --unix makefile:9: *** missing separator. Stop. Only this message is displayed. and line9 of (...) (25 years ago, 5-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: Speed of RCX interpreting bytecodes: slow
 
(...) I'm pretty sure this is not the case. The interpreter constantly runs the "execute bytecode" function if it is sitting idle. -Kekoa (25 years ago, 5-Jan-00, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR