Stuck again...
I've tried this code, and variations. Mostly get the message
"'f' was not declared in this scope"
{
EEPROM.get(0, f);
if(0){
digitalWrite(controlPin1, LOW);
digitalWrite(controlPin2, LOW);
lcd.setCursor(0, 1);
lcd.print("Prg.STOP");
Serial.println("Programmed Stop Activated ⛔");
delay(1000);
}
}
I also have this in Void Setup
float f = 0.00f; //Variable to store data read from EEPROM.
int eeAddress = 0; //EEPROM address to start reading from
Serial.begin(9600); // set up the LCD's number of columns and rows:
EEPROM.get(eeAddress, f);
Serial.println(f, 3); //This may print 'ovf, nan' if the data inside the EEPROM is not a valid float.
Feels like im missing something small and "easy"....