Solenoid with LCD!!!

Dana:

PeterH:
Step back from the problem. What are you trying to achieve?

thanks for replying !
I can't write my code I feel its so complicated!
I want to push first button to start measuring the temperature which it's from currents in the solenoid will show me this message ,second button for the time , then the LCD display changing numbers from 1 to 5 when number 5 appears I have to push the button to see the temperature in this sec . the button last one when I push it will show me message tells that (Done !)
I use this LCD
http://www.sparkfun.com/tutorials/246

I find my self at lost , please help me !

Please explain the bit about getting the temperature from the solenoid. A solenoid is an electromagnetic component which produces a force. Is does not tell you anything about the temperature. To read the temperature you would need a temperature sensor - there are various ones about that can interface easily with an Arduino. Perhaps your translation has picked the wrong word for this component?