Solenoid with LCD!!!

Sacman:
First, put your code in code tags. That is the # sign on the toolbar above.

Second, I can see a ton of mistakes before you even get out of the Setup()

Look at your variable names, you declare them as one thing and then in setup you call them something different. I hope you understand why this won't work. I didn't go past that point. Fix that, use code tags and come back.

Also, you have three switch pins but you only set one to input and that one doesn't exist in you declarations. You have to set all of your digital pins as either INPUT or OUTPUT.

Also, the Arduino IDE is case sensitive so you can't use LCDPin in the declarations and then use lcdpin in the rest of the code.

Thanks for leads up me for this point ! I'm not familiar with C language , but I try to learn it :slight_smile: