HiTechnic NXC function error

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: HiTechnic NXC function error

Post by mattallen37 »

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."
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: HiTechnic NXC function error

Post by afanofosc »

Kekoa's list is just RCX1.0 opcodes. I was looking at my source code which is based off of the Spybot and RCX2 SDK documentation.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests