Posted 21 June 2015 - 07:05 AM
So, I'm lost and out of ideas :(/> , any help would be great. I just finished editing a program to control a majority of the things in my house. It uses the Touchpoint API.
What it is doing:
When I run the program, it loads fine. It will switch between menus just fine. The "Back" button works flawlessly. But for some reason when I hit any other button, it doesn't work properly.
For example, if I hit "Door" from "Main Menu", it takes me to the "Door Menu". From here I hit the "Open" button, and it opens the door as it should. But here is the issue, when I hit the "Close" button, nothing happens. So it seems like the buttons work to turn on, but do not turn off. Where did I go wrong?
Code is located here:
http://pastebin.com/MSnd0uj1
By the way, Props Lyqyd on the amazing API!
What it is doing:
When I run the program, it loads fine. It will switch between menus just fine. The "Back" button works flawlessly. But for some reason when I hit any other button, it doesn't work properly.
For example, if I hit "Door" from "Main Menu", it takes me to the "Door Menu". From here I hit the "Open" button, and it opens the door as it should. But here is the issue, when I hit the "Close" button, nothing happens. So it seems like the buttons work to turn on, but do not turn off. Where did I go wrong?
Code is located here:
http://pastebin.com/MSnd0uj1
By the way, Props Lyqyd on the amazing API!