Subject:
|
Re: About SetSerialComm(SERIAL_COMM_DEFAULT);
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Fri, 7 Sep 2001 11:17:16 GMT
|
Viewed:
|
2413 times
|
| |
| |
My new question is how to receive this packet data sent by SendSerialData()?
Zhengrong
In lugnet.robotics.rcx.nqc, Zhengrong Zang writes:
> Hi, Dave
> In your NQC Guide, there is a text about this function "The default is to
> send data at 2400 baud using a 50% duty cycle on a 38kHz carrier.", how
> about other settings, for example, parity and stop bit, is it odd parity
> without stop bit?
> Then I want to know if the SendSerial(start, count) sends raw data without
> any header, for example 55, ff, 00 and so on, could you help me?
>
> Br
> Zhengrong
|
|
Message has 1 Reply: | | Re: About SetSerialComm(SERIAL_COMM_DEFAULT);
|
| I haven't done a lot of testing with SendSerial(), so I can't say for certain what combinations are possible, etc. If you use SetSerialPacket(SERI...CKET_RCX), any bytes you send get built as a packet (with the 55 ff 00 header, data followed by (...) (23 years ago, 8-Sep-01, to lugnet.robotics.rcx.nqc)
|
Message is in Reply To:
| | About SetSerialComm(SERIAL_COMM_DEFAULT);
|
| Hi, Dave In your NQC Guide, there is a text about this function "The default is to send data at 2400 baud using a 50% duty cycle on a 38kHz carrier.", how about other settings, for example, parity and stop bit, is it odd parity without stop bit? (...) (23 years ago, 7-Sep-01, to lugnet.robotics.rcx.nqc)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|