Subject:
|
direct manipulation of bits in RCX registers using NQC
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Mon, 12 Sep 2005 22:58:48 GMT
|
Viewed:
|
5283 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
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 LED in a LEGO light sensor
brick, *without* disabling the light sensor itself. Apparently, the power for
this LED is mapped to bits 0-2 of "port 6" (an RCX register).
Thanks,
Matt Jones
|
|
Message has 1 Reply:
13 Messages in This Thread: ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: direct manipulation of bits in RCX registers using NQC -Brian Davis (13-Sep-05 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![Re: direct manipulation of bits in RCX registers using NQC -Mathew V. Jones (13-Sep-05 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/246.gif) ![Re: direct manipulation of bits in RCX registers using NQC -Brian Davis (13-Sep-05 to lugnet.robotics.rcx.nqc)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: direct manipulation of bits in RCX registers using NQC -Steve Hassenplug (13-Sep-05 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![Re: direct manipulation of bits in RCX registers using NQC -danny staple <orionrobots@gmail.com> (13-Sep-05 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![Re: direct manipulation of bits in RCX registers using NQC -Mathew V. Jones (16-Sep-05 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![Re: direct manipulation of bits in RCX registers using NQC -Brian Davis (16-Sep-05 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![IR-based proximity measurement -Mathew V. Jones (16-Sep-05 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![Re: IR-based proximity measurement -Ralph Toepper (9-Jun-06 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![Re: IR-based proximity measurement -Brian Davis (9-Jun-06 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![Re: IR-based proximity measurement -Ralph Toepper (11-Jun-06 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![Re: IR-based proximity measurement -Brian Davis (11-Jun-06 to lugnet.robotics.rcx.nqc)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|