 | | Re: code
|
|
(...) [etc.] Also, don't you use ROTATION_X instead of SENSOR_X once you get the rotation sensor set up on that port? I thought it was something like that. I'd also like to comment that this is dangerous. It's theoretically possible that your sensor (...) (26 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: code
|
|
yego, The wait_event function takes an event function as the first parameter, not a sensor number. You need something like (forgive any errors - I don't have LegOS available at work) int rotation_event_3(wakeup_t data) { if (SENSOR_3 == data) return (...) (26 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | code
|
|
Hi, I'm a newbie to c++ and legOS. Here is my code. Do you know what is wrong with it cause I don't. Thanks /* s.c*/ #include <unistd.h> #include <dmotor.h> #include <dsensor.h> int main(int argc, char **argv) { /* turn it on */ (...) (26 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: The Making of "Creative Projects with LEGO Mindstorms"
|
|
Cool site, Ben. Looking forward to your book! -- Bob Fay rfay@we.mediaone.net (URL) Erwin" <ben@alum.mit.edu> wrote in message news:GAsADu.56u@lugnet.com... (...) itself (...) (26 years ago, 26-Mar-01, to lugnet.books, lugnet.robotics, lugnet.robotics.rcx)
|
| |
 | | Re: Extreme Mindstorms Book Question
|
|
(...) Perhaps this is because many of the authors have had Mindstorms webpages up before they published any books. True, if one is willing to spend a few hours researching on the web, one can find more info on Mindstorms than any one book can cover. (...) (26 years ago, 26-Mar-01, to lugnet.robotics)
|