Hey all,
Im having troubles with a simple task. I need to send some integers from the pc (monobrick) to the nxt with robotc.
But i cannot get the data correct. Controlling the motors works and sending data is received on the robot.
The code on mono is this
brick.Mailbox.Send( “10 10 1”,Box.Box0, true);
and in robotc i do the following:
nSizeOfMessage = cCmdMessageGetSize(kQueueID);
nBTCmdRdErrorStatus = cCmdMessageRead(nRcvBuffer, nSizeOfMessage);
nxtDisplayTextLine(0, “bericht:%s”, nRcvBuffer);
Did anyone tried to do the same?
thanks
Tom
Follow