// ---- LCD start presentationen
{
You forgot to comment the reason for the useless curly brace.
{
val = digitalRead(intest3Pin); // Knapp 3 - Denna ska spara position i minnet
if (val == HIGH) { // Kollar om knappen är tryckt
EEPROM.put(0,PulseCount); // Skriver PulseCount numret till minnet, adressen är 0
lcd.setCursor(0, 1); // Dessa två rader skriver till LCD, i detta fall är 0,1 rad 2
lcd.print(PulseCount);
delay(750);
lcd.setCursor(0, 1);
lcd.print("Pos Saved!");
Serial.println("Saving liftposition to memory ");
delay(750);
}
}
The monkey that typed that code really needs to go into treatment. All that drinking is not good.
Use Tools + Auto Format before you embarrass yourself posting any more crappy looking code.