Subject:
|
Re: is it possible to use a polarity switch with a RCX input?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 25 Mar 2002 17:03:52 GMT
|
Original-From:
|
T. Alexander Popiel <popiel@wolfskeep.ANTISPAMcom>
|
Viewed:
|
522 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In message: <GtJ9sq.HBC@lugnet.com>
"Nickle, Steven (2511)" <Steven.Nickle@esavio.com> writes:
>
> Use a resistor to make one of the states of the switch read less than a full
> short. Setup as a light sensor. 0 means off 50~ means one state and 100
> means another.
Actually, you want it to be unpowered instead of powered; giving the
sensor power will just waste your batteries heating up the resistors.
Setting it up as SENSOR_TYPE_NONE and SENSOR_MODE_PERCENT (or
SENSOR_MODE_RAW) under NQC would be much better than setting it up
as a light sensor.
- Alex
|
|
Message is in Reply To:
6 Messages in This Thread: ![is it possible to use a polarity switch with a RCX input? -Jonathan Wilson (24-Mar-02 to lugnet.robotics, lugnet.robotics.rcx)](/news/x.gif) ![](/news/46.gif) ![Re: is it possible to use a polarity switch with a RCX input? -Steven Nickle (25-Mar-02 to lugnet.robotics, lugnet.robotics.rcx)](/news/x.gif) ![](/news/246.gif) ![Re: is it possible to use a polarity switch with a RCX input? -Jerry Kalpin (25-Mar-02 to lugnet.robotics, lugnet.robotics.rcx)](/news/x.gif) ![](/news/246.gif) ![Re: is it possible to use a polarity switch with a RCX input? -James Trobaugh (25-Mar-02 to lugnet.robotics, lugnet.robotics.rcx)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: is it possible to use a polarity switch with a RCX input? -Mario Ferrari (26-Mar-02 to lugnet.robotics, lugnet.robotics.rcx)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![You are here](/news/here.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|