Re: HiTechnic NXC function error
Posted: 19 Mar 2011, 05:01
Well, I am quite positive the remote doesn't need a reply, so that should be right. I know SetMessage doesn't get a reply either. My theory, is that only the messages that should get a response need the 0x08 bit toggling.
But where did you see that c2 is Uart? According to the Opcodes, c2 is the reply the RCX gives when something is attempting to "Start subroutine download". "A return value of 0 indicates success, a return value of 1 indicates that there is insufficient memory for a subroutine of the requested size, and a return value of 2 indicates that the subroutine index was invalid."
But where did you see that c2 is Uart? According to the Opcodes, c2 is the reply the RCX gives when something is attempting to "Start subroutine download". "A return value of 0 indicates success, a return value of 1 indicates that there is insufficient memory for a subroutine of the requested size, and a return value of 2 indicates that the subroutine index was invalid."