/branches/ligi_j2me/README |
---|
11,7 → 11,7 |
* Project-Start: 9/2007 |
* Version: 0.40 |
* Mailto: ligi |
* -at- |
* <-/AT/-> |
* smart4mobile.de |
* |
* Licence: http://creativecommons.org/licenses/by-nc-sa/2.0/de/ |
144,4 → 144,4 |
0.38 - scrolling intro string ( some EYE-Candy ) |
0.39 - rotation instead of clipping in main menu select |
0.40 - Input Values in ParameterEditor via KEY0..KEY9 |
0.41 - block motortest values > 255 |
/branches/ligi_j2me/src/BTSearcher.java |
---|
1,15 → 1,13 |
/********************************************************************************************************************************* |
* * |
* searches 4 Bluetooth Devices * |
* * |
* Author: Marcus -LiGi- Bueschleb * |
* Project-Start: 9/2007 * |
/*************************************** |
* |
* searches 4 Bluetooth Devices |
* |
* Author: Marcus -LiGi- Bueschleb |
* |
* see README for further Infos |
* |
****************************************/ |
* Mailto: ligi@smart4mobile.de * |
* Licence: Creative Commons / Non Commercial * |
* Big Up: Holger&Ingo * |
*********************************************************************************************************************************/ |
import javax.bluetooth.*; |
public class BTSearcher |
/branches/ligi_j2me/src/DUBwise.java |
---|
1,12 → 1,12 |
/*********************************************************************** |
* |
* DUBwise == Digital UFO Broadcasting with intelligent service equipment |
* main MIDLet Source file |
* |
* Author: Marcus -LiGi- Bueschleb |
* Project-Start: 9/2007 |
* Mailto: ligi@smart4mobile.de |
* Licence: Creative Commons / Non Commercial |
* Big Up: Holger&Ingo |
* |
* see README for further Infos |
* |
************************************************************************/ |
import javax.microedition.lcdui.*; |
/branches/ligi_j2me/src/MKCommunicator.java |
---|
1,15 → 1,13 |
/********************************************************************************************** |
/******************************************************************************************************************************** |
* |
* Abstaction Layer to Communicate via J2ME and Bluetooth with the FlightCtrl of the MikroKopter Project (www.mikrokopter.de ) |
* |
* Author: Marcus -LiGi- Bueschleb |
* Project-Start: 9/2007 |
* Version: 0.07 |
* Mailto: ligi@smart4mobile.de |
* Licence: Creative Commons / Non Commercial |
* Big Up: Holger&Ingo |
* |
************************************************************************************************/ |
* see README for further Infos |
* |
* |
*******************************************************************************************************************************/ |
import javax.microedition.io.*; |
import java.io.*; |
/branches/ligi_j2me/src/MKDebugData.java |
---|
1,15 → 1,13 |
/********************************************************************************************************************************* |
* * |
* class representing the DebugData Structure * |
* * |
* Author: Marcus -LiGi- Bueschleb * |
* Project-Start: 9/2007 * |
/********************************************* |
* |
* class representing the DebugData Structure |
* |
* Author: Marcus -LiGi- Bueschleb |
* |
* see README for further Infos |
* |
********************************************/ |
* Mailto: ligi@smart4mobile.de * |
* Licence: Creative Commons / Non Commercial * |
* Big Up: Holger&Ingo * |
*********************************************************************************************************************************/ |
public class MKDebugData |
{ |
/branches/ligi_j2me/src/MKLCD.java |
---|
3,10 → 3,9 |
* Handling of MK LCD * |
* * |
* Author: Marcus -LiGi- Bueschleb * |
* Project-Start: 9/2007 * |
* Mailto: ligi@smart4mobile.de * |
* Licence: Creative Commons / Non Commercial * |
* Big Up: Holger&Ingo * |
* |
* see README for further Infos |
* |
*********************************************************************************************************************************/ |
public class MKLCD |
/branches/ligi_j2me/src/MKMiniCanvas.java |
---|
3,11 → 3,9 |
* minimal canvas to test Abstraction layer on various Phones |
* |
* Author: Marcus -LiGi- Bueschleb |
* Project-Start: 9/2007 |
* Mailto: ligi@smart4mobile.de |
* Licence: Creative Commons / Non Commercial |
* ( see README for exact terms of usage) |
* Big Up: Holger&Ingo |
* |
* see README for further Infos |
* |
***************************************************************/ |
import javax.microedition.lcdui.*; |
126,6 → 124,7 |
public void paint_lcd(Graphics g,boolean bottomup) |
{ |
int y; |
for(int i=0;i<lcd_lines.length;i++) |
226,6 → 225,8 |
while(true) |
{ |
try { |
repaint(); |
serviceRepaints(); |
244,11 → 245,13 |
{ |
motor_test[m]+=act_motor_increase; |
if (motor_test[m]<0)motor_test[m]=0; |
if (motor_test[m]>255)motor_test[m]=255; |
} |
else |
{ |
motor_test[act_motor]+=act_motor_increase; |
if (motor_test[act_motor]<0)motor_test[act_motor]=0; |
if (motor_test[act_motor]>255) motor_test[act_motor]=255; |
} |
mk.motor_test(motor_test); |
339,6 → 342,7 |
sleeptime=1000/ 15 - (int) (System.currentTimeMillis()- loopStartTime); |
if (sleeptime<0) |
sleeptime=100; // everyone has fi sleep |
349,7 → 353,12 |
} |
} |
catch (Exception e) |
{ |
err+=e.toString(); |
} |
} |
} |
/branches/ligi_j2me/src/MKParamsEditor.java |
---|
3,10 → 3,9 |
* class to handle Editing of MK Params |
* |
* Author: Marcus -LiGi- Bueschleb |
* Project-Start: 9/2007 |
* Mailto: ligi@smart4mobile.de |
* Licence: Creative Commons / Non Commercial |
* Big Up: Holger&Ingo |
* |
* see README for further Infos |
* |
*************************************************/ |
import javax.microedition.lcdui.*; |
/branches/ligi_j2me/src/MKParamsParser.java |
---|
3,10 → 3,9 |
* class representing the Params Structure |
* |
* Author: Marcus -LiGi- Bueschleb |
* Project-Start: 9/2007 |
* Mailto: ligi@smart4mobile.de |
* Licence: Creative Commons / Non Commercial |
* Big Up: Holger&Ingo |
* |
* see README for further Infos |
* |
*************************************************/ |
public class MKParamsParser |
/branches/ligi_j2me/src/MKStatistics.java |
---|
1,13 → 1,11 |
/********************************************************************************************************************************** |
* Statistics from MK-Connection ( needed for 2. Thread and Readability of Code ) * |
* * |
* Author: Marcus -LiGi- Bueschleb * |
* Project-Start: 9/2007 * |
* Version: 0.07 * |
* Mailto: ligi@smart4mobile.de * |
* Licence: Creative Commons / Non Commercial * |
* Big Up: Holger&Ingo * |
*********************************************************************************************************************************/ |
/******************************************************************************** |
* Statistics from MK-Connection ( needed for 2. Thread and Readability of Code ) |
* |
* Author: Marcus -LiGi- Bueschleb |
* |
* see README for further Infos |
* |
********************************************************************************/ |
public class MKStatistics |
implements Runnable |
/branches/ligi_j2me/src/MKVersion.java |
---|
1,15 → 1,13 |
/********************************************************************************************************************************* |
* * |
* class representing the MK-Version * |
* * |
* Author: Marcus -LiGi- Bueschleb * |
/************************************ |
* |
* class representing the MK-Version |
* Author: Marcus -LiGi- Bueschleb |
* Project-Start: 9/2007 * |
* |
* see README for further Infos |
* |
****************************************/ |
* Mailto: ligi@smart4mobile.de * |
* Licence: Creative Commons / Non Commercial * |
* Big Up: Holger&Ingo * |
*********************************************************************************************************************************/ |
public class MKVersion |
{ |
/branches/ligi_j2me/src/MKWatchDog.java |
---|
1,9 → 1,12 |
/************************************** |
* |
* WatchDog for MK-Connection |
* |
* Author: Marcus -LiGi- Bueschleb |
* Project-Start: 9/2007 |
* Mailto: ligi@smart4mobile.de |
* |
* see README for further Infos |
* |
* |
**************************************/ |
public class MKWatchDog |