| | Re: direct manipulation of bits in RCX registers using NQC
|
|
(...) Perhaps - but the standard firmware implements a "virtual machine", and so you don't generally have access to physical registers. But... (...) You can configure the input port that the light sensor is connected to as a "passive" sensor (so (...) (19 years ago, 13-Sep-05, to lugnet.robotics.rcx.nqc)
|
|
| | direct manipulation of bits in RCX registers using NQC
|
|
Hi all, Can anyone tell me if it is possible to use NQC to directly set bits in RCX registers? And if so, how does one do it? I've seen C code examples of this in a few places, but no NQC examples. Specifically, I want to turn on and off the red (...) (19 years ago, 12-Sep-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Arrays and functions in NQC
|
|
(...) No. No. From the NQC Guide: The RCX2, Swan, and Spybotics targets support arrays (the other targets do not have suitable support in firmware for arrays). Arrays are declared the same way as ordinary variables, but with the size of the array (...) (19 years ago, 8-Sep-05, to lugnet.robotics.rcx.nqc)
|
|
| | Arrays and functions in NQC
|
|
Two little questions for the NQC gurus... - Is it possible to use 2-dimentionnal arrays in NQC? - Is it possible (and if yes what is the syntax) to pass an array as an inline function parameter? TIA, Philo (19 years ago, 8-Sep-05, to lugnet.robotics.rcx.nqc)
|
|
| | Button events with NQC
|
|
Hallo, I am new to developing software for the RCX using NQC. I have some experience using Java programming with Lejos. My Question: Is there a way to react to button events, and how? What I mean is, that I would linke to ask, wheater the e.g. (...) (19 years ago, 3-Aug-05, to lugnet.robotics.rcx.nqc)
|
|
| | RE: Swan firmware crash!
|
|
I have put "fast0103.lgo" on web page. It appears that web page on my ISP (drjsoftware.com) doesn't match the local copy on my PC's hard drive. It will take me a few days to update. I'm also planning to release a firmware update in the same (...) (19 years ago, 22-Jul-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Attention please: Swan Problem demi-solved!
|
|
Here's the problem! I don't have fast0103.lgo, on swan's site there's only version 1.01. I think using that firmware (where can we find it?) and new NQC API all my problems are solved. About driving servo: to generate PWM for servo motors a (...) (19 years ago, 21-Jul-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Swan firmware crash!
|
|
(...) This is the old-style Swan API which is deprecated. The Swan API built into NQC uses MotorPower128(n) and SetMotorPower128(n, m). With the latest version of NQC you no longer need to include the old swan.nqh header file. The old swan.nqh file (...) (19 years ago, 21-Jul-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Attention please: Swan Problem demi-solved!
|
|
(...) Quite possibly you have an old version of the Swan firmware. My copy is called fast0103.lgo dated 2005-01-13. Dick sent me an updated version back then when I was working on the NQC API for his firmware. I don't know if it is available (...) (19 years ago, 21-Jul-05, to lugnet.robotics.rcx.nqc)
|
|
| | Attention please: Swan Problem demi-solved!
|
|
I tried to use files included in OLD test_swan.zip and RCX don't throw exception 40 no more! Then I tried a program with #include "swan.nqh" with latest NQC version and RCX throws exception no.5! To Dick Swan: NQC API is changed from old test_swan (...) (19 years ago, 20-Jul-05, to lugnet.robotics.rcx.nqc)
|