troubleshooting & fixed error code

This commit is contained in:
Lexzach
2024-01-03 14:05:12 -05:00
parent 21c20db83e
commit a924b6d243
3 changed files with 1 additions and 5 deletions

View File

@@ -314,11 +314,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