| | Difficulty Activating Sensors in v0.2.4 Gary Mayer
|
| | I'm using LegOS 0.2.4 on Windows 2000 (Cygwin solution). I receive errors when I try to compile any code that activates a sensor. I've looked at both old references and new as well as the old Dave Baum book. At first, I thought it may just be the (...) (24 years ago, 6-Nov-00, to lugnet.robotics.rcx.legos)
|
| | |
| | | | Re: Difficulty Activating Sensors in v0.2.4 Luis Villa
|
| | | | (...) Which Cygwin solution? i.e., what version of gcc? (to check, run gcc --version) (...) All that code looks perfectly fine to me. In fact, it looks like it matches line by line that I compiled yesterday with no problem. Could you post the entire (...) (24 years ago, 6-Nov-00, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | Re: Difficulty Activating Sensors in v0.2.4 Marek Brudka
|
| | | | (...) Warnings tell, that lines 120,etc are the declaration part of the program and you just redeclare ds_active and similiar functions. My advice is to look for a missing or redundant brace before these lines. -- Marek mbrudka@elka.pw.edu.pl (24 years ago, 6-Nov-00, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | Re: Difficulty Activating Sensors in v0.2.4 Jochen Hoenicke
|
| | | | (...) You have to use the commands inside of a method, e.g. in the main method. I just tried it and get the exactly the same error messages if I don't put these calls inside a method. If you think you put them in a method, make sure that you don't (...) (24 years ago, 7-Nov-00, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: Difficulty Activating Sensors in v0.2.4 Gary Mayer
|
| | | | (...) Jochen, you're right on target! I put them into one of my sub-routines and it worked fine. I appreciate everyone else's help as well. Thanks, -- Gary Mayer (24 years ago, 9-Nov-00, to lugnet.robotics.rcx.legos)
|
| | | | |