no message
This commit is contained in:
parent
9c557b1f8e
commit
7cde8d63dc
|
@ -49,6 +49,7 @@ void writelcd(String line1, String line2){
|
||||||
lcd.print(line1);
|
lcd.print(line1);
|
||||||
lcd.setCursor(0,1);
|
lcd.setCursor(0,1);
|
||||||
lcd.print(line2);
|
lcd.print(line2);
|
||||||
|
Serial.print("Writing to LCD: "+line1+" "+line2+"\n");
|
||||||
}
|
}
|
||||||
void updatelcd()
|
void updatelcd()
|
||||||
{
|
{
|
||||||
|
@ -84,9 +85,10 @@ void espcommander(String topic, String rawcommand) {
|
||||||
}
|
}
|
||||||
const char* command = doc["command"];
|
const char* command = doc["command"];
|
||||||
const char* value = doc["value"];
|
const char* value = doc["value"];
|
||||||
}
|
}
|
||||||
//END OF ESPCOMMANDER CODE
|
//END OF ESPCOMMANDER CODE
|
||||||
void setup() {
|
void setup() {
|
||||||
|
Serial.begin(115200);
|
||||||
lcd.begin();
|
lcd.begin();
|
||||||
writelcd(" Siwat INC (tm) "," Waterish OS");
|
writelcd(" Siwat INC (tm) "," Waterish OS");
|
||||||
delay(1000);
|
delay(1000);
|
||||||
|
@ -108,7 +110,6 @@ void setup() {
|
||||||
if(online)writelcd(" WiFi Connected",wifiname);
|
if(online)writelcd(" WiFi Connected",wifiname);
|
||||||
delay(3000);
|
delay(3000);
|
||||||
writelcd("Boot Sequence P3"," Loading Kernel");
|
writelcd("Boot Sequence P3"," Loading Kernel");
|
||||||
Serial.begin(115200);
|
|
||||||
pinMode(14, INPUT_PULLUP);
|
pinMode(14, INPUT_PULLUP);
|
||||||
pinMode(12, INPUT);
|
pinMode(12, INPUT);
|
||||||
pinMode(13, INPUT);
|
pinMode(13, INPUT);
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue