To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 1383
  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)
 
  Re: RCX IR protocol
 
On the page (URL) look under the description of his send command and you'll see he sends a query "10" (hex) and gets a response "ef". This value, 0xEF, is the logical not (modulus 0xFF) of the query value 0x10. The tilde means "not". Dennis (...) (23 years ago, 3-Sep-01, to lugnet.robotics.rcx)
 
  Re: RCX IR protocol
 
(...) Take a look at (URL) (...) 55 ff 00 (...) complement, i.e. invert every bit separately. So for example ~f7=~11110111=00001000=10. (...) Good luck and show it to us when you are done Jürgen (23 years ago, 4-Sep-01, to lugnet.robotics.rcx)
 
  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)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR