hi!
i need to send the following packet 0x55 0xff 0xaa 0x41 from the rcx to the
rcxi2c-interface from mindsensors without the rcx header bytes (just the 4
bytes from above). the interface should send a message back. i am using the
following code to do this, but it doesn't work.
data is a byte array with length 4, containing the packet to send.
LLC.init();
LLC.setRangeShort();
LLC.sendBytes(data, length);
for(;;) {
if(LLC.read() != -1)
TextLCD.print("ok");
}
my problem is that my rcx never reveives a message from the interface
(should write ok on the lcd)
thanks, christian
--
"Feel free" mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion