To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / *1182 (-10)
  SetWatch() is remembered?
 
So does this mean that the RCX acts like a PC in that it does not forget the date/time when it is turned off or the batteries changed? Should I just write a one line program to set the time, and remove the time code from my actual NQC program? Thank (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  maximum current of outputs
 
Hi hardware-specialists, does anyone know the maximum continuous current that a RCX motor output can drive? (I want to connect a light.) Thanks a lot. Bernd (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  RE: SetWatch() only accepts constants
 
Instead of sending ByteCodes from the PC and getting the RCX to interpret them, you can construct and send the SetWatch() OpCode plus the correct "constant" time and send it through Spirit.OCX (or directly, depending of the platform). (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  SetWatch() only accepts constants
 
I just wrote a task and function that cause the RCX to receive data from the PC and then set the time on the RCX using SetWatch(). Unfortunately, I didn't realize that SetWatch() only accepts constants. NQC complained when integer variables were (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  MIDI to NQC/RIS2.0 translator "Midi2LSC"
 
Hi, All ! I wrote a Windows 95/98/Me/2000 free software. This program named "Midi2Lsc" is SMF (Standard MIDI File) to LSC (LEGO Script Language of RIS2.0 SDK) and/or NQC translator. It is alpha test release status now. SMF format 0/1/2 support (...) (23 years ago, 28-Jul-01, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Display the value of Scout sensors
 
Scout is cheaper, but when you debug NQC program in Scout, you have no way to watch the value of its sensors, I made a small program that can show sensors value in a RCX LCD, you can use remote to change watching sensor, message 1 for sensor1, (...) (23 years ago, 26-Jul-01, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  About SensorValueRaw(SENSOR_3) in Scout
 
I tried to get raw value of sensors in Scout, the SensorValueRaw(0/1) is ok, I get the raw values of Sensor1 and Sensor2, but I found SensorValueRaw(2) doesn't work, no value is returned. Then I found a example in NQC Guide Version 2.3 r1, it is (...) (23 years ago, 14-Jul-01, to lugnet.robotics.rcx.nqc)
 
  Re: Strange happenings
 
(...) I'll consider adding those in the next release. To be honest, its probably more work from a documentation side than from a code perspective. (...) If its working, don't bother sending the code. But if it stops working again, then send the code (...) (23 years ago, 14-Jul-01, to lugnet.robotics.rcx.nqc)
 
  Re: Strange happenings
 
(...) It was very odd, I've been having a lot of problems with that onfor command. I had a command that was supposed to go for 1 second. OnFor(AOUT_B,100); and it would NEVER stop. I changed it to 10 and it worked for a bit then stopped. It just (...) (23 years ago, 13-Jul-01, to lugnet.robotics.rcx.nqc)
 
  Re: Strange happenings
 
Looks straighforward. Perhaps an NQC bug. Can you email me the complete program and also compile with the -l option and send me the listing (or if you're using an IDE, then there should be some menu choice to produce a disassembly list)? Dave Baum (...) (23 years ago, 13-Jul-01, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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