 | | c++, sensor declaration
|
| Hallo! I tried to declare sensors global, out of main(): Motor motor(Motor::B); LightSensor s(LightSensor::S3,false); int main(){ ... } make reports an error: /home/micha/legOS/util/makelx test.ds1 test.ds2 test.lx test.ds1: address out of bounds on (...) (26 years ago, 10-Apr-01, to lugnet.robotics.rcx.legos)
| | |  | | Re: c++, classes
|
| Hallo Frank, yes, it helped, thanks. But I still don't understand the background. Normally, in c++ you can initialize your private components in the body of the constructor or with a initialization list, like in your suggestion. Reagards. Michael (...) (26 years ago, 10-Apr-01, to lugnet.robotics.rcx.legos)
| | |  | | Re: Revisions to RcxCC
|
| John, Yes please mail me your source code so I can add scout support to my program. In the beta version I added syntax highlighting the same way as in RCXCC only programmed in VB. The final version uses a complete new editor with support everything (...) (26 years ago, 10-Apr-01, to lugnet.robotics.rcx.nqc)
| | |  | | Serial talking between RCX and pc
|
| Hi! Does anyone know how to make a pc and a RCX talk to each other? I've seen some examples of basic communication like downloading programs or 'turn on motor A'. But I've not seen a protocol, i.e. sending down data that is to be processed by the (...) (26 years ago, 10-Apr-01, to lugnet.robotics.rcx)
| | |  | | Re: Revisions to RcxCC
|
| (...) Yeah, that went away as soon as I started using the RCX 2.0 locals for variable allocation - the symbolic information just didn't survive the rework. And I completely forgot to put it back in. I'm working on enhancing the listing a bit. I'll (...) (26 years ago, 10-Apr-01, to lugnet.robotics.rcx.nqc)
| |