Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 134 → Rev 135

/DUBwise/src/J2ME/src/MKLCD.java
9,7 → 9,7
*******************************************/
 
public class MKLCD
implements Runnable
// implements Runnable
{
 
MKCommunicator mk=null;
45,9 → 45,9
}
 
mk=_mk;
new Thread( this ).start(); // fire up main Thread
// new Thread( this ).start(); // fire up main Thread
}
 
/*
public void run()
{
while(true)
54,13 → 54,13
{
try {
if (mk.connected)
trigger_LCD();
Thread.sleep(100);
Thread.sleep(300);
}
catch (Exception e) { }
}
}
 
*/
public void set_page(int page)
{
act_user_page=page;
92,9 → 92,11
{
if (act_mk_page<act_user_page)
act_key=2;
else
if (act_mk_page>act_user_page)
act_key=1;
if (act_mk_page==act_user_page)
act_key=0;
 
}
132,10 → 134,6
 
 
 
 
 
 
public void LCD_NEXTPAGE()
{
if (act_user_page!=pages)