Subject:
|
Cant get sensors to work properly
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 13 Aug 2008 14:09:13 GMT
|
Original-From:
|
POMAH <(madorski@)spamless(gmail.com)>
|
Viewed:
|
7122 times
|
| |
| |
Hi I have a little problem. I'm using the latest Bricx command center
together with my cybermaster brick.
My program code looks something like this:
task main ()
{
if(SENSOR_1) SetOut(OUT_A));
}
Everything comiles nicely but nothing happens when I push on the sensor, I
can clearly see that it goes "high" but the program does not start OUT_A.
If I just write true instead of SENSOR_1 it all works just fine.
Any suggestions to what is wrong?
--
View this message in context: http://www.nabble.com/Cant-get-sensors-to-work-properly-tp18963820p18963820.html
Sent from the LEGO Robotics mailing list archive at Nabble.com.
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|