heating control

So using the code in this post:
heating control - #36 by Arrch - Project Guidance - Arduino Forum

with just LEDs does not work? What are you expecting it to do and what is it doing?

that is the code i am using

i can see the ( if (lastState == HIGH) ) working, but the code in side that what i ges is doing the delay seem's to be doing navall
so putting the LED on as soon as the button go's low