First Version Ever that runs a little bit

This commit is contained in:
2016-01-26 14:20:42 +00:00
parent 6513a92c77
commit 78e559985f
19 changed files with 11352 additions and 1309 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void doJob(String task, String value) {
co = 0x00539F; //Rwth Color
}
job = value.toInt();
Rb.fillRectangle(1, 2, 6, 7, 0x000000);
Rb.fillRectangle(1, 2, 7, 6, 0x000000);
Rb.drawChar(b, 1, 1, co);
} else if(task == "online") {
Rb.setPixelXY(0,7,value.toInt()==0?0xFF0000:0x00FF00);
+1 -1
View File
@@ -42,7 +42,7 @@ void loadFromDisplay() {
print_disp("getStoreData=1");
parse(disp.readStringUntil('\n'));
}
if(keepAlive()) {
if(storeCount > 0 && keepAlive()) {
doJob("getStore","1");
}
}