First Version Ever that runs a little bit
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -42,7 +42,7 @@ void loadFromDisplay() {
|
||||
print_disp("getStoreData=1");
|
||||
parse(disp.readStringUntil('\n'));
|
||||
}
|
||||
if(keepAlive()) {
|
||||
if(storeCount > 0 && keepAlive()) {
|
||||
doJob("getStore","1");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user