| | Re: NQC tutorial available
|
|
(...) Mark, I use your NQCCC exclusively to program my RCX. Your code templates and help system (especially the last edition!) are superb. I like your setup because it integrates all the necessary stuff right there and the help files are pretty good (...) (26 years ago, 29-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | NQC tutorial available
|
|
In my opinion NQC is the easiest way to program the Lego Robots. But people that never programmed before seem to think it is difficult (maybe because it sounds like C). So I decided to write an extensive tutorial on how to use NQC. The tutorial does (...) (26 years ago, 29-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: How do you convert light sensor data to bmp image
|
|
Alex: Downloaded the netphm files from your site. Your right, it was alot easier. Now all I have to do is build my scanner. Thank you for your help Patrick McLean :) Alex Wetmore wrote in message <922292440.681002@phred.org>... (...) image. (...) (26 years ago, 26-Mar-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: How do you convert light sensor data to bmp image
|
|
I just put a Win32/i386 port of netpbm on my ftp site (ftp://ftp.phred.org...bm-e.zip). Very little documentation, but it should be easier then uploading and downloading files from a unix account. I'd recommend generating the PGM, then using (...) (26 years ago, 24-Mar-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: How do you convert light sensor data to bmp image
|
|
Alex: Thank you for your suggestion. I was able to find a Windows95 site which described a way to utilize the PGM program. The site basically provides the files needed to call up a UNIX window on my PC. From the UNIX window, I can then utilize the (...) (26 years ago, 24-Mar-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: How do you convert light sensor data to bmp image
|
|
You might find netpbm to be helpful. It contains tools to convert the PBM (monochrome), PGM (grayscale) and PPM (color) formats into just about anything. P?M are file format for images which is easy to generate. In its simplest form PGM (what you'd (...) (26 years ago, 22-Mar-99, to lugnet.robotics.rcx.nqc)
|
|
| | How do you convert light sensor data to bmp image
|
|
Hi: I would like to build a lego scanner using a single light sensor. I have found a number of sites which explain how to build them, however, I could use some assistance with how to convert the data collected into an actual image map. I understand (...) (26 years ago, 20-Mar-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: SetClock defined
|
|
Mark Overmars already forwarded your SetClock definition to me, so it will be added to 1.3, although I'm considering naming it SetWatch() for consistiency with the nqc -watch option and the spirit.ocx call. Dave (...) (26 years ago, 17-Mar-99, to lugnet.robotics.rcx.nqc)
|
|
| | SetClock defined
|
|
I noticed that the byte code command to implement the SetClock(hrs,min) wasn't implemented in the nqc.h file. Here it is, rather simple really but I find it useful as a way for the RCX to communicate debugging info while running. Example, when a (...) (26 years ago, 16-Mar-99, to lugnet.robotics.rcx.nqc)
|
|
| | NQC known bug
|
|
Just wanted to inform everyone of a nastly little NQC bug in version 1.2: return statements in inline functions actually cause a top-level return from the enclosing subroutine / task. For example in the following code, sound 1 is never played: (...) (26 years ago, 15-Mar-99, to lugnet.robotics.rcx.nqc)
|