diff --git a/WaterishOS-core3.0/WaterishOS-core3.0.ino b/WaterishOS-core3.0/WaterishOS-core3.0.ino index 99159a5..f22a0a5 100644 --- a/WaterishOS-core3.0/WaterishOS-core3.0.ino +++ b/WaterishOS-core3.0/WaterishOS-core3.0.ino @@ -49,6 +49,7 @@ void writelcd(String line1, String line2){ lcd.print(line1); lcd.setCursor(0,1); lcd.print(line2); + Serial.print("Writing to LCD: "+line1+" "+line2+"\n"); } void updatelcd() { @@ -84,9 +85,10 @@ void espcommander(String topic, String rawcommand) { } const char* command = doc["command"]; const char* value = doc["value"]; -} + } //END OF ESPCOMMANDER CODE void setup() { + Serial.begin(115200); lcd.begin(); writelcd(" Siwat INC (tm) "," Waterish OS"); delay(1000); @@ -108,7 +110,6 @@ void setup() { if(online)writelcd(" WiFi Connected",wifiname); delay(3000); writelcd("Boot Sequence P3"," Loading Kernel"); - Serial.begin(115200); pinMode(14, INPUT_PULLUP); pinMode(12, INPUT); pinMode(13, INPUT); diff --git a/WaterishOS-core3.0/WaterishOS-core3.0.ino.generic.bin b/WaterishOS-core3.0/WaterishOS-core3.0.ino.generic.bin new file mode 100644 index 0000000..ce32737 Binary files /dev/null and b/WaterishOS-core3.0/WaterishOS-core3.0.ino.generic.bin differ