| | Re: Sensor Connector Brendan O'Hare
|
| | (...) Thanks, I thought there might be a special connector but I see now that its a standard enough connector. Another question: How can I get the handy board to read from the lego rotation sensor and the lego light sensor? I can get the touch (...) (23 years ago, 7-Feb-02, to lugnet.robotics.handyboard)
|
| | |
| | | | Re: Sensor Connector Fred G. Martin
|
| | | | The LEGO shaft encoder and light sensor are active sensors that need a special circuit. The Expansion Board for the HB provides this ckt and the requisite drivers. Your simplest path to using these with the HB is to get an Exp Bd. Barring that, you (...) (23 years ago, 7-Feb-02, to lugnet.robotics.handyboard)
|
| | | | |
| | | | Interactive C Brendan O'Hare
|
| | | | (Perhaps this isn't the right place to ask questions about I.C. but it is related to the handy board so I will continue) I am trying to write a program that uses the lego sensors and multiplies them by constants that are floats. The expansion board (...) (23 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
| | | | |
| | | | | | Re: Interactive C Fred G. Martin
|
| | | | You have to coerce the int to a float, e.g: int i= 7; float j= 3.; float result; result = j * (float)i; The above should work. Please let me know if not. Fred (...) (23 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
| | | | |