Data from NXT Brick to Java Application via USB

Post your NXJ projects, project ideas, etc here!

Moderators: imaqine, 99jonathan, roger

New User
Posts: 21
Joined: Wed Jul 22, 2009 12:38 am

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?

leJOS Team Member
Posts: 965
Joined: Mon Feb 05, 2007 1:27 pm

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.

Return to “NXJ Projects”

Who is online

Users browsing this forum: No registered users and 0 guests