| | 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)
|