fixed error code and instructions

This commit is contained in:
Lexzach
2024-01-03 14:07:38 -05:00
parent c7c02a6f10
commit b8f31e62fa
3 changed files with 1 additions and 5 deletions

View File

@@ -322,11 +322,7 @@ void setup() {
Serial.println("EEPROM verification failed.");
lcd.clear();
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.print("check manual");
while(not digitalRead(resetButtonPin) and not digitalRead(drillButtonPin)){ //wait until button is pressed