To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 286
285  |  287
Subject: 
More than 1 integer in a data packet?
Newsgroups: 
lugnet.robotics.rcx.java
Date: 
Wed, 1 Oct 2003 00:14:41 GMT
Viewed: 
5086 times
  
Hi there,

Does anyone know if I can send more than 1 byte/integer per packet between the
PC and RCX. From what I understand of the rcxcomm package API, one can only send
an integer at a time. Also, the example supplied with the rcxcomm package only
deals with 1 integer being sent to and fro a PC/RCX and a RCX. If so, is there a
way of sending, say an array of integers, within a packet? Any advice would be
of great help.

Thanks.

Tyler



Message has 1 Reply:
  Re: More than 1 integer in a data packet?
 
(...) I'm not a leJOS expert by any stretch of the imagination. But I think I can help. (...) That is not a correct understanding of the rcxcomm package API. The RCXOutputStream class, for example, which descends from java.io.OutputStream inherits (...) (21 years ago, 2-Oct-03, to lugnet.robotics.rcx.java)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR