| | Sending ir packets
|
| I am writing a program, and it doesnt work. Right now im just trying to make sure I can interface with the serial port properly. So I am sending: 55 ff 00 51 ae 03 fc 54 ab At 2400 baud, 8 data bits, odd parity, and one stop bit. It doesnt work. The (...) (23 years ago, 20-Sep-01, to lugnet.robotics.rcx)
| | | | Re: Sending ir packets
|
| (...) (URL) get you loads of info. Björn (23 years ago, 20-Sep-01, to lugnet.robotics.rcx)
| | | | Re: Sending ir packets
|
| Check the source code for NQC (in rcx/RCX_Link.cpp), or even use it as your underlying comms library. You may spot something Dave does that you don't.. Phil. (...) (23 years ago, 29-Sep-01, to lugnet.robotics.rcx)
| | | | Re: Sending ir packets
|
| (...) Here ya go: Remember start bit (sometimes called 2 stop bit mode) 55 00 D1 ~D1...Dn ~Dn C ~C Add all the normal D parts in a single Byte for Chksum. Code chunk for example ... unsigned char MuxStr[] ={0x55,0xf7,0x08,0x0...xf8,0x07}; count = 7; (...) (23 years ago, 29-Sep-01, to lugnet.robotics.rcx)
| |