Data from NXT Brick to Java Application via USB

Post your NXJ projects, project ideas, etc here!

Moderators: 99jonathan, roger, imaqine

Data from NXT Brick to Java Application via USB

Postby westes » Thu Jul 23, 2009 1:59 am

I have made many java applications using the swing classes. I was wondering if I could gather data from a ultrasonic sensor and display it to the java application. Does anyone know how or knows of any good starting points?
:?
westes
New User
 
Posts: 21
Joined: Wed Jul 22, 2009 12:38 am

Postby lawrie » Thu Jul 23, 2009 8:18 pm

It is easy exchange data with the PC - look at the BTSend and BTReceive examples, or NXTReceive, which works wih USB or Bluetooth.

You could also look at the DLTest sample and the DataViewer tool. That is another way to send data to the PC.
lawrie
leJOS Team Member
 
Posts: 929
Joined: Mon Feb 05, 2007 1:27 pm


Return to NXJ Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron
more stuff