|
Hi
I have been working on trying to get the RCX 1.0 to
respond to my opcodes by trying to send a ping opcode to it.
I have try'd using Tower.sendPacket(0x10) where
0x10 is put into a byte[], and the program gives me instant feedback that the
RCX gave me a bad response.
--------------------------------------------------------------------------------------------------------
- josx.rcxcomm.TowerException: Tower error:
bad response from rcx -
- at josx.rcxcomm.Tower.receivePacket(Tower.java:151) - - at TestComm.<init>(TestComm.java:54) - - at TestComm.main(TestComm.java:68) - - Tower error: bad response from rcx - ---------------------------------------------------------------------------------------------------------
Second try:
byte[] data =
"">
byte[] read = new byte[7];
writeByte( data );
readByte( read );
This gives me no response from RCX
error.
Im am using RCX 1.0 with an USB tower and lejOS 3.0
RC2.
Can anyone tell me how to write an opcode to the
RCX ?
I must be doing something wrong here
:(
Hope someone might be able to help me.
Regards
Michael
|
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Lejos-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lejos-discussion
