Hi - I am brand new to leJOS and NXT brick.
I am running pretty simple programs on NXT using leJOS, and have a small problem with this code :
===
LCPBTResponder lcpThread = new LCPBTResponder();
lcpThread.setDaemon(true);
lcpThread.start();
LCP.messageWrite(0, "Waiting for ENTER to be pressed");
System.out.println ( "Use ENTER to proceed" ) ;
// Wait for user to press ENTER
Button.ENTER.waitForPressAndRelease();
===
The problem is that "SYSTEM.OUT.PRINTLN" works OK, writing to LCD display,
... but LCP.messageWrite does nothing ...
I compile, link at PC, then send the program to NXT, without executing it yet.
Then I start "nxjmonitor.bat" on windows - it runs OK : the "battery" gauge moves OK all the time.
Then I start the program on NXT, but nothing comes to "trace messages" field in NXJ Monitor window.
Any ideas ?
Thanks. Ramon.
where does "LCP.messageWrite" write to ?
-
- Posts: 27
- Joined: 29 Sep 2010, 19:34
- Location: Denmark
- Contact:
Re: where does "LCP.messageWrite" write to ?
Try the LeJOS forum at http://lejos.sourceforge.net/forum/
Who is online
Users browsing this forum: No registered users and 2 guests