fixed error code and instructions
This commit is contained in:
parent
c7c02a6f10
commit
b8f31e62fa
Binary file not shown.
Binary file not shown.
@ -322,11 +322,7 @@ void setup() {
|
|||||||
Serial.println("EEPROM verification failed.");
|
Serial.println("EEPROM verification failed.");
|
||||||
lcd.clear();
|
lcd.clear();
|
||||||
lcd.setCursor(0,0);
|
lcd.setCursor(0,0);
|
||||||
if (EEPROM.read(50) != EEPROMVersion or EEPROM.read(51) != EEPROMBuild){ //display error 2 if the firmware is different
|
|
||||||
lcd.print("ERROR 2");
|
|
||||||
} else {
|
|
||||||
lcd.print("ERROR 1");
|
lcd.print("ERROR 1");
|
||||||
}
|
|
||||||
lcd.setCursor(0,1);
|
lcd.setCursor(0,1);
|
||||||
lcd.print("check manual");
|
lcd.print("check manual");
|
||||||
while(not digitalRead(resetButtonPin) and not digitalRead(drillButtonPin)){ //wait until button is pressed
|
while(not digitalRead(resetButtonPin) and not digitalRead(drillButtonPin)){ //wait until button is pressed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user