| | New NQC API for RCX-Spybot or RCX-RC communication
|
| Recently I happened across the MindScript headers for the RCX in the SDK and saw some interesting macros for RCX communication. I decided to port them to NQC and possibly add them to the official built-in NQC API. I would be extremely grateful if (...) (20 years ago, 12-Jan-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
| | | | Re: New NQC API for RCX-Spybot or RCX-RC communication
|
| (...) I forgot to include a few #defines: #define SERIAL_PACKET_RC 0 // default #define SERIAL_PACKET_SPYBOT 0 #define SERIAL_COMM_RC 7 // 4800/76KHZ/25% #define SERIAL_COMM_SPYBOT 7 // was SERIAL_COMM_4800 + SERIAL_COMM_76KHZ The RC function, by (...) (20 years ago, 12-Jan-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
| | | | Re: New NQC API for RCX-Spybot or RCX-RC communication
|
| (...) John, I have a few beginner questions for you. I am trying to emulate the infrared protocol on a different microcontroller. I want it to be able to be controlled by a Lego remote and to send/receive messages to Lego devices. What format does (...) (19 years ago, 21-May-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
| | | | Re: New NQC API for RCX-Spybot or RCX-RC communication
|
| Hi Gabriel, (...) the format is 38kHz or 76kHz modulated infrared, with a standard 2400 baud serial format of 1 start bit, 8 data bits, odd parity, 1 stop bit (modulated infrared on = 0, off = 1). The packet format consists of a start byte 0x55, (...) (19 years ago, 29-May-05, to lugnet.robotics)
| |