Subject:
|
Re: Help needed for an NQC newbie
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Tue, 7 Aug 2001 22:41:20 GMT
|
Viewed:
|
2850 times
|
| |
| |
"Jude Beaudin" <shiningblade@home.com> writes:
>
> Normally you can see me in .space, .loc.ca, or org.ca and the like. But now
> that I have an RCX I want to program a bit.
Welcome!
> Here is the code:
>
> if (SENSOR_2<27)
^^
27 is way too low for a light sensor,
so since this test fails your program just ends.
Typical is 35 for very dark up to ca 50 for reflection on
a bright surface, and higher if it looks into bright light.
Use the View key to see the real values, that helps a lot.
Good luck
Jürgen
--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/
|
|
Message is in Reply To:
| | Help needed for an NQC newbie
|
| Hi, Normally you can see me in .space, .loc.ca, or org.ca and the like. But now that I have an RCX I want to program a bit. I have written my first NQC program and compiled it using RCXCC. I then downloaded it to my RCX but when I press run the legs (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|