|
| | (canceled)
|
| | | | | Re: Help with RCX.pm
|
| (...) Aha! OK, sounds like the docs are out of sync with the code. IIRC, John renamed the module from RCX to LEGO::RCX a while back, which means that the new() constructor is actually now in the LEGO::RCX package and no longer in the RCX package. (...) (24 years ago, 14-Apr-00, to lugnet.robotics.rcx)
| | | | Re: Help with RCX.pm
|
| "Todd Lehman" <lehman@javanet.com> schrieb im Newsbeitrag news:FsyM2E.KoA@lugnet.com... (...) i used the following: use RCX; $rcx = new RCX(); as described in the doc-file that comes with RCX.pm. thanks, Clemens (24 years ago, 14-Apr-00, to lugnet.robotics.rcx)
| | | | Re: Q: Determining state of outputs
|
| (...) Yes, there is a 'data source' for motor status. I never bothered figuring it all out, so there isn't a defined API for it, but you can add it yourself: #define MotorStatus(motor) @(0x30000 + (motor)) use motor 0 for output A, 1 for B, 2 for C. (...) (24 years ago, 14-Apr-00, to lugnet.robotics.rcx.nqc) !
| | | | Re: Q: Determining state of outputs
|
| (...) I'm not the expert on this but... I've been playing with firmware 2.0 and I think you can read the state of your sensors directly. (The same way you read the Battery level? Dave?) Hopefully Dave will answer you for sure. Dean -- Coin-Op's For (...) (24 years ago, 13-Apr-00, to lugnet.robotics.rcx.nqc)
| |