Subject:
|
Re: RCX IR protocol
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Tue, 4 Sep 2001 11:31:35 GMT
|
Viewed:
|
3238 times
|
| |
| |
Seanna or Steve or Trevyn or Nicholas <swatsons@home.com> writes:
> Hi all,
>
> I was looking at the IR protocol described at
> http://graphics.stanford.edu/~kekoa/rcx/, and i dont quite understand.
Take a look at http://graphics.stanford.edu/~kekoa/rcx/protocol.html
> What is the packet header?
55 ff 00
> what does the ~ mean? (eg "RCX reply opcode is always ~query opcode")
complement, i.e. invert every bit separately.
So for example ~f7=~11110111=00001000=10.
> I am asking because i am writing an application that would do something
> similar to the remote control.
Good luck and show it to us when you are done
Jürgen
--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/
|
|
Message has 1 Reply: | | Re: RCX IR protocol
|
| Hi, Juergen has done a small mistake in his example. (...) Better it should be ~f7=~11110111=00001000=08. If you want to get a little bit of math you may add every number to its complement and you will always get ff for the result. If we take (...) (23 years ago, 4-Sep-01, to lugnet.robotics.rcx)
|
Message is in Reply To:
| | RCX IR protocol
|
| Hi all, I was looking at the IR protocol described at (URL) and i dont quite understand. In paricular: What is the packet header? what does the ~ mean? (eg "RCX reply opcode is always ~query opcode") I am asking because i am writing an application (...) (23 years ago, 2-Sep-01, to lugnet.robotics.rcx)
|
4 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
|
|
|
|