| | Still JAVA and LNP....
|
| hey all :) Sorry to bother again, but after limited uccess with getting JAVA to cope with LNP, I've run into some (hopefully) simple problems, I'm having major problems with the checksum routine, this routine give me huge integer nnumbers rather (...) (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.legos)
| | | | Re: Still JAVA and LNP....
|
| Umm in response to my own message, would someone be so kind as to explain the following <g> : // return (short)(a + (b << 8)); return (short)(a % 256); If I use the bottom line, discounting variable b, then my checksum is correct...otherwise it (...) (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.legos)
| | | | Re: Still JAVA and LNP....
|
| (...) There is no way to passively listen to the world. This is good for batteries but bad in all other ways. So, your listening code should send a keep-alive on a regular basis to keep the tower from dying. No way around it :| Luis ---...--- "It's (...) (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.legos)
| |