Skip to content

Commit 06e05b4

Browse files
author
letherman255
committed
commit de test
1 parent 0d8bcb3 commit 06e05b4

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

Diagrames/System overview.psd

-859 KB
Binary file not shown.

Diagrames/Thumbs.db

15.5 KB
Binary file not shown.

Diagrames/UML/Thumbs.db

5.5 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

pro/src/fr/mcnanotech/gpio/I2CTransfer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package fr.mcnanotech.gpio;
22

33
import java.io.IOException;
4-
import java.util.Random;
54

65
import com.pi4j.io.i2c.I2CBus;
76
import com.pi4j.io.i2c.I2CDevice;
@@ -111,7 +110,7 @@ public static void initLCD()
111110
{
112111
if(isI2Cinit)
113112
{
114-
lcd.setBacklight(Lcd.BACKLIGHT_RED);
113+
lcd.setBacklight(Lcd.BACKLIGHT_GREEN);
115114
lcd.write(" GAM ");
116115
}
117116
}
@@ -130,6 +129,7 @@ public static void updateSignal(SystemStatus st)
130129

131130
public static void updateLcd(SystemStatus st)
132131
{
132+
lcd.setBacklight(Lcd.BACKLIGHT_BLUE);
133133
lcd.setCursorHome();
134134
lcd.clear();
135135
lcd.write("credit : " + String.valueOf(st.getDailyCredit()));

pro/src/fr/mcnanotech/main/SystemThread.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class SystemThread extends Thread
1818
* This is the division factor to determine the system time intervals in milliseconds
1919
* for example 1000 is a sec. 60 000 is a minute, 3 600 000 is an hour
2020
*/
21-
private static final long TIME_BASE = 1000;
21+
private static final long TIME_BASE = 60000;
2222
private String creditStatus = "full";
2323
static SystemStatus st = new SystemStatus();
2424
private UserDao userDao;

0 commit comments

Comments
 (0)