| | Sensor Commands and legOS 0.2.3 Doug Herbert
| | | I just installed legOS 0.2.3 under Redhat 6.2, using the RPM's that were linked to in the HOWTO. Everything I have tried so far has worked great, except for getting my touch sensors to work. The documentation I have read said that in 0.2.x one could (...) (24 years ago, 24-Apr-01, to lugnet.robotics.rcx.legos)
| | | | | | | | Re: Sensor Commands and legOS 0.2.3 Bernardo Dal Seno
| | | | | (...) TOUCH_1 is a macro defined in dsensor.h starting form version 0.2.4. If you don't want to upgrade, here is the code: #define TOUCH(a) ((unsigned int)(a) < 0x8000) #define TOUCH_1 TOUCH(SENSOR_1) #define TOUCH_2 TOUCH(SENSOR_2) #define TOUCH_3 (...) (24 years ago, 24-Apr-01, to lugnet.robotics.rcx.legos)
| | | | | | |