|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.util.DebugMessages
public class DebugMessages
This class has been developed to use it in case of you have to tests leJOS programs and you need to show in NXT Display data but you don't need to design a User Interface. This class is very useful to debug algorithms in your NXT brick.
Constructor Summary | |
---|---|
DebugMessages()
|
|
DebugMessages(int init)
Constructor which the user establish in what line start showing messages |
Method Summary | |
---|---|
void |
clear()
Clear LCD |
void |
echo(int message)
Show in NXT Screen a message |
void |
echo(String message)
Show in NXT Screen a message |
void |
setDelay(int dMs)
Set the delay measured in MS. |
void |
setDelayEnabled(boolean de)
Enable/Disabled if you need to show output with delay |
void |
setLCDLines(int lines)
Set the number of lines to show in the screen. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugMessages()
public DebugMessages(int init)
init
- Method Detail |
---|
public void setLCDLines(int lines)
lines
- public void setDelayEnabled(boolean de)
de
- public void setDelay(int dMs)
dMs
- public void echo(String message)
message
- public void echo(int message)
message
- public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |