Getting code to get EEPROM number

Please review the code you posted.

Part 1 ends with

lcd.setCursor(2, 0);
lcd.print("PROTOTYPE"); 
    Serial.println("

and the second code segment does not follow on from that

Are you still declaring f in setup() and trying to use it in another function ?