where does "LCP.messageWrite" write to ?

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
ramon-bacardi
Posts: 1
Joined: 06 Dec 2012, 18:20

where does "LCP.messageWrite" write to ?

Post by ramon-bacardi »

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.
bullestock
Posts: 27
Joined: 29 Sep 2010, 19:34
Location: Denmark
Contact:

Re: where does "LCP.messageWrite" write to ?

Post by bullestock »

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests