Hi there. My team has decided to make a NXT robot that we can control From a PC using bluetooth.
I'm having trouble sending information from my PC to my NXT. If I can do that, I'm sure we'll be able to program some UI for the PC, and get the motors and sensors to work on the NXT side.
So.. If anyone could paste some code doing the following:
PC side:
Open BT connection.
Send and int value (or byte or whatever?)
NXT side:
Recieve int and print it on screen
Please include the import lines that I would need, as I'm often having library problems :/
Just so I don't get a standard answer; I have read the sample codes and the pctools, but I can't figure out how to use them (too complex codes, or non working codes :/). And my classpaths are correct.


