using sensor values on pc

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

using sensor values on pc

Postby janvos2506 » Wed Jul 04, 2012 10:35 am

hey there,

i want to have a little image on the screen of my computer that moves when i move the nxt gyroscope now my problem is i don't know how/if you can use the values that the sensors have in a pc program like how do you send them over i would like to use the usb cable but i don't know if you could use bluetooth or something i hope you guys can help me :)
janvos2506
Novice
 
Posts: 34
Joined: Mon Oct 24, 2011 8:58 pm

Re: using sensor values on pc

Postby airglide » Thu Jul 05, 2012 8:44 pm

well, have a look at the tutorial http://lejos.sourceforge.net/nxt/nxj/tutorial/Communications/Communications.htm you have to write the sensor data in a DataOutputStream and open a DataInputStream on the Pc, through this stream you can write data from your Nxt to your Pc

airglide
airglide
New User
 
Posts: 19
Joined: Sun Mar 04, 2012 2:09 pm

Re: using sensor values on pc

Postby janvos2506 » Thu Jul 05, 2012 9:43 pm

Thanks!
janvos2506
Novice
 
Posts: 34
Joined: Mon Oct 24, 2011 8:58 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 2 guests

cron
more stuff