Im trying to make a card that counts the days since last watering my plants, ive made the card and the counter and that works, ive also made a reset function for at for when i push it the counter resets. My problem is when i push the card the state for the reset action changes to on instead of off and then i cant push it again, so i need some help for it to go back to off when it's been activated.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.