| | Revisions to RcxCC
|
|
I'm working on a revision to Mark Overmars' fantastic RcxCC program. I'm an experienced Delphi programmer so that's no problem. But I'm not all that experienced with NQC or the RCX generally. I've got a the latest version of NQC, a Cybermaster, an (...) (24 years ago, 3-Apr-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Electrical Data Link between 2 RCXs
|
|
(...) My guess is that SENSOR_1 in your receiving RCX is getting a 1 when your program starts. I imagine that OFF is the default state for OUT_B in your transmitter RCX, and that the receiver is seeing this before OUT_B is switched to FLOAT. This is (...) (24 years ago, 3-Apr-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Electrical Data Link between 2 RCXs
|
|
(...) Hi Dean, meanwhile I followed your suggestions and implemented a scheme that uses a pulse scheme like this: ______ ______ ______ __ ______ ______ ___...___ Start Bit3 Bit2 Bit1 Bit0 A bit value of 1 results in a long pulse, a bit value of 0 in (...) (24 years ago, 3-Apr-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Yet another Q: IR messages
|
|
(...) Hi Tobias I'm not very familiar with NQC events, but if you want to use a blocking function for receiving your message, use parts of the code i posted before. int local_message = 0; int global_message = 0; task main() { //do what you like (...) (24 years ago, 31-Mar-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Yet another Q: IR messages
|
|
If I am understanding what you want correclty (I have never used the RCX-code) only NQC then try this. Assume: RCX2 is sending message # 15 to RCX1. RCX1 is in a waiting state until it gets the message RCX code: . . . While (Message() != 15){ ++i; } (...) (24 years ago, 31-Mar-01, to lugnet.robotics.rcx.nqc)
|