| | 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)
|
|
| | Re: Strange happenings
|
|
(...) This almost sounds like a mechanical problem. Try the program with jsu the brick connected to motors or lights and see if you get the expected result. Lester (23 years ago, 12-Jul-01, to lugnet.robotics.rcx.nqc)
|
|
| | Strange happenings
|
|
I'm using NQC 2.3r1 with the following code bit. task Fidget() //The Fidget task { while (true) { Wait (FidgetTime); Fwd (OUT_B); OnFor (OUT_B,100); HeadPos = 1; Wait (FidgetTime); Rev (OUT_B); OnFor (OUT_B,100); HeadPos = 0; Wait (FidgetTime); Rev (...) (23 years ago, 12-Jul-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Firnware 2.0 and RCXCC
|
|
Hi Rob, You can get the original version of RCXCC to support the RCX2 firmware. The main change is to add the following line to your autoexec.bat: SET NQC_OPTIONS=-TRCX2 Of course, you also need the new firmware and a version of NQC that supports (...) (23 years ago, 10-Jul-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RCXcc Missing "disconnect commport"
|
|
hi John, thanks for your fast respons, just what I needed (at this moment ;-)) (...) best regards, Stef Mientki (23 years ago, 9-Jul-01, to lugnet.robotics.rcx.nqc)
|
|
| | Firnware 2.0 and RCXCC
|
|
Hi Everyone, Like the subject says, I am looking for some info on using the new firmware with RCXCC. Up until now, I have found the old version of NQC written by Mark Overmars to be more than enough for what I need. Just recently, though, I built a (...) (23 years ago, 9-Jul-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RCXcc Missing "disconnect commport"
|
|
(...) I just uploaded a new zip containing version 3.2.9.7 of RcxCC which now has a menu option available to disconnect the COM port. I'm considering adding COM Automation support to RcxCC so that much of its functionality can be scripted. If anyone (...) (23 years ago, 9-Jul-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RCXcc Missing "disconnect commport"
|
|
(...) Sorry about that, Stef. I'll put that menu option back in today. Thanks, John Hansen (23 years ago, 9-Jul-01, to lugnet.robotics.rcx.nqc)
|
|
| | RCXcc Missing "disconnect commport"
|
|
hi John (Hansen or Binder ?) I used your RCXcc a few times, but I'm missing a very essential command (which was available in the orginal Mark Overmars RCXcc) "disconnect the commport". I can work around it, but this command could make things easier. (...) (23 years ago, 8-Jul-01, to lugnet.robotics.rcx.nqc)
|
|
| | Version 1.2 of the NQCEditor & RCXControl Released! (For PocketPC MIPS & ARM)
|
|
Version 1.2 of the NQCEditor & RCXControl Released! This is the Rainer Keuchel Version. This is for the PocketPC PPC and HPC. MIPS and ARM supported! It's located here: (URL) features including the ability to download firmware, compile, download, (...) (23 years ago, 20-Jun-01, to lugnet.robotics.rcx.nqc, lugnet.robotics, lugnet.robotics.rcx)
|
|
| | Iteresting thread to work in progress on Porting NQC to PocketPC
|
|
(URL) it seems that the WinCE/PocketPC builds are not being updated. I find this hard to believe as the portable units make field programing a breeze! Dean -- Dean's Lego Workshop: (URL) Lego Club: (URL) (23 years ago, 14-Jun-01, to lugnet.robotics.palm, lugnet.robotics.rcx.nqc)
|
|
| | Re: Music with Lego
|
|
KOS> If I try to have my RCX1.0 playing these 11 notes, it will only play approx. 7 KOS> of them. It seems like if a buffer is running full or something... KOS> If I put in some waiting, it works all fine Hi, that's because this is the way it works. (...) (23 years ago, 6-Jun-01, to lugnet.robotics.rcx.nqc)
|
|
| | Music with Lego
|
|
If I try to have my RCX1.0 playing these 11 notes, it will only play approx. 7 of them. It seems like if a buffer is running full or something... task main() { PlayTone(262, 40); PlayTone(294, 40); PlayTone(330, 40); PlayTone(349, 40); PlayTone(392, (...) (23 years ago, 6-Jun-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RcxCC Font problem
|
|
(...) That worked. Thanks a lot. (...) No problem for me. I only use my font in regular style. Marc Klein Marc Klein A Mindstorms fan. (23 years ago, 22-May-01, to lugnet.robotics.rcx.nqc)
|
|
| | New Version: MacNQC 2.2.3
|
|
Hi All, I just put up version 2.2.3 of MacNQC. The changes are: * Added a menu to select which program slot the code is to be downloaded into. * Added command in the editor to shift text left or right on tab space. * Fixed a memory corruption (...) (23 years ago, 22-May-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RcxCC Font problem
|
|
(...) Thanks! It's been a lot of fun working on it in my spare time lately. I'm glad that a few people have found it worthwhile. (...) I've dug around in the code to try and figure out what is going on here and I think I understand the problem now. (...) (23 years ago, 22-May-01, to lugnet.robotics.rcx.nqc)
|