need help to modify this push button code

Quick5pnt0:
In your code you have: (currentState == 1);

That won't do as you are intending. Assuming you want currentState to change to 1 you need to change it to: currentState = 1;

haha. thank you for that. now it is working. thanks buddy.