| | Re: NQC 2.3 r1 for Win32 W/ USB Support
|
|
(...) In the LEGO Mania mag it showed an ad for the RIS2.0. But I didn't see a power adapter port. Can you confirm that there is one or not? Dean (23 years ago, 24-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.3 r1 for Win32 W/ USB Support
|
|
There was a slight oversight on my part. You need cygwin1.dll (from Redhat's cygwin package, available at (URL) in order to run the binary. I'll add this to the distribution and make it available on my site. -Brendan "Brendan W. McAdams" (...) (23 years ago, 24-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Execution order.
|
|
B> Does anyone know why a second IF statement in a while(true) loop wont B> execute? Hi, I believe your command structure should look like this: while(true){ command1; command2;} Maybe you forgot the brackets? (23 years ago, 24-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | NQC 2.3 r1 for Win32 W/ USB Support
|
|
Just so everyone knows, I threw together a compiled version of NQC 2.3 r1 for USB on Win32 last nite, it works. If anyone wants it you can grab it at (URL) are unsupported (Other than me supporting it to the point of 'it works on my box, i plugged (...) (23 years ago, 20-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Battery status
|
|
(...) Here's a quick little program that will tell you. Make sure it's the 2.x firmware. ---8<--- task main() { while (true) { SetUserDisplay(BatteryLevel(), 3); } } ---8<--- Dean (23 years ago, 24-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | color-coded (by target) HTML NQC API documentation
|
|
I created color-coded (by target) HTML documentation for the API part of the NQC documentation. I also generated 5 index pages: 1. Master Index: all functions and values, color-coded by target 2. Cybermaster only index 3. RCX only index 4. RCX2 only (...) (23 years ago, 24-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Execution order.
|
|
Does anyone know why a second IF statement in a while(true) loop wont execute? (23 years ago, 24-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Battery status
|
|
Kalle - (...) In NQC version 2.3r1 (and probably higher), using the RIS2.0 firmware, you can use x = BatteryLevel(); to set variable 'x' equal to the battery level in millivolts. Cheers, JP (23 years ago, 22-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Battery status
|
|
Hello, can i check the battery status directly in NQC without connecting the PC. Can i use a trick to get the voltage Br Kalle (23 years ago, 14-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | MacNQC 3.0 Beta
|
|
Hi All, I've uploaded a beta version of MacNQC 3.0. New features are: * Added syntax coloring for NQC source code in the Editor Window. * Made the preference window multi-paned. It now has a Compiler Pane, a Communications Pane, an Editor Pane, and (...) (23 years ago, 16-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RCXcc & USB
|
|
(...) I just got a new catalog from Pitsco. Along with it was an extra one page "Mindstorms for Schools" sheet with Robolab 2.5 (F900054 $59) and the USB tower (F979783 $29) on it. 1-800-362-4308. The lady said the tower wouldn't ship until the end (...) (23 years ago, 15-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: monitoring touch sensor
|
|
(...) FYI, Jason and I ended up with this program: int touch_count=0; int release_count=0; task main() { while (true) { // infinite loop // look for first press until(SENSOR_1 == 1); PlaySound(SOUND_CLICK); touch_count = 1; // wait for 1 second for (...) (23 years ago, 15-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RCXcc & USB
|
|
John, Do you have the Pitsco part number for the USB tower since I cannot find it on their Web site? Thanks for your help. (...) (23 years ago, 14-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | RCXcc & USB
|
|
Is there anyone out there who could contribute Delphi source code that would enable my revised copy of RCXcc to work with the new USB IR tower. I've ordered a USB tower from Pitsco for $29. Once it arrives I'll be commencing work on the necessary (...) (23 years ago, 13-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Need help with RcxCC: I get "The system cannon find the file specified" error.
|
|
(...) This normally means that NQC.EXE is not in a directory on the system path nor is it in the same directory as RCX.EXE. The simplest fix is the put NQC.EXE in the same directory as RCX.EXE. Alternatively you can add the directory where NQC.EXE (...) (23 years ago, 13-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: About SetSerialComm(SERIAL_COMM_DEFAULT);
|
|
You know, I modified legOS to make message commnucation between legOS and NQC, I found new formware can send raw data so that I think if I can make LNP communication between legOS and NQC. Zhengrong (...) (23 years ago, 8-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: About SetSerialComm(SERIAL_COMM_DEFAULT);
|
|
hi Zhengrong, Sorry, I didn't understand (or read) your message well, I thought you were looking for communicating with a PC. Well as far as my knowledge reaches, I agree with Dave, the RCX can't receive raw data (except for program downloading, (...) (23 years ago, 8-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: About SetSerialComm(SERIAL_COMM_DEFAULT);
|
|
Hi Stef, I read your page, but I can't find what I need, I want to know how to communicate between RCXs with raw data (without header 55,ff,00), I don't care to communicate between Rcx and PC. You can read Dave's message, it seems he is also sure (...) (23 years ago, 8-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: About SetSerialComm(SERIAL_COMM_DEFAULT);
|
|
I haven't done a lot of testing with SendSerial(), so I can't say for certain what combinations are possible, etc. If you use SetSerialPacket(SERI...CKET_RCX), any bytes you send get built as a packet (with the 55 ff 00 header, data followed by (...) (23 years ago, 8-Sep-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: About SetSerialComm(SERIAL_COMM_DEFAULT);
|
|
hi Zhengrong, probably Dave answered your question, but I didn't see his answer in this newsgroup. I'v done some tests with different serial protocols and different baudrates, see (URL) it's of some use to you. (...) best regards, Stef Mientki (23 years ago, 7-Sep-01, to lugnet.robotics.rcx.nqc)
|