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 / 239
238  |  240
Subject: 
Re: usb from .java best how
Newsgroups: 
lugnet.robotics.rcx.java
Date: 
Mon, 3 Feb 2003 21:41:10 GMT
Viewed: 
4874 times
  
http://news.lugnet.com/robotics/rcx/java/?n=237
Subject: Re: frame RCX reply how ...

Anyone know more specifically where to read how
Lejos frames standard RCX IR replies?

Does Lejos even include any .java code that runs
on the PC?

Offline thanks I'm told that:
http://developer.java.sun.com/developer/onlineTraining/webcasts/pdf/singapore/sritter.pdf
gives a one page Lejos usage summary in slide 26 of 31 that says
`Lejosfirmdl` can download new firmware, which necessarily involves talking
thru USB or serial.

Code for .java thru .c to USB may only be a few clicks away.  I see:
http://news.lugnet.com/robotics/rcx/java/
has the label "leJOS" on the link:
http://lejos.sourceforge.net

I imagine we'll be learning to talk from .java thru .c thru USB thru IR to
the RCX ... unless `Lejosfirmdl` is coded entirely in .c.

Finding .c code that can speak USB would be enough, since JNI speech thru .c
from .java is reasonably well documented, first at:
http://java.sun.com/docs/books/tutorial/native1.1/index.html
and Google for the MinGW gcc on Windows eventually yields:
gcc -Wall -shared -Wl,--add-stdcall-alias -o ...dll -I ... -I ...

Pat LaVarre



Message has 1 Reply:
  Re: usb from .java best how
 
(...) Pat, Lejos 2.1.0 includes JNI libraries that support all forms of RCX comms. The PC Tower class interfaces with serial and USB towers. It lets you send and receive standard Lego packets. The send and receive methods support the Lego firmware (...) (22 years ago, 5-Mar-03, to lugnet.robotics.rcx.java)

Message is in Reply To:
  usb from .java best how
 
To talk USB from .java, from Linux ff. 2.4.19, Win 95B/ 98/ ME/ Win NT/ 2K/ XP, and/or MacOS 9/X ... ... what techniques are most easy to learn, fast, reliable, and yet arbitrary enough to support a Lego USB IR tower? That is, what is the USB (...) (22 years ago, 3-Feb-03, to lugnet.robotics.rcx.java)

3 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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