I am new to Java and LeJOS, therefore my question could be seen as stupid, but please be patient ^^
I wrote a simple program to be uploaded on the NXT, and I would like to monitor the sensors during runtime through Bluetooth. Somewhere on the website I found that this piece of code that must be present somewhere for the Monitor utility included in the LeJOS package:
static LCPBTResponder lcpThread = new LCPBTResponder();
I did as advised, the program compiles and runs properly, but I can't read sensor values. Ultrasonic sensor stays at 1023 even if there's something in front of it, and touch sensor gives -1 even if pressed.
Am I missing something?