Hi.
I guess I have a really basic newbe question, but I just can't find any good examples on the net, even though I'm sure there are tons of them.
In order to get a more complex system to work, I have two boolean inputs. If one of the two boolean inputs is true, a number should increase. If the other boolean input is true, the number should decrease.
This is the entire problem. I've attached my project, and hope that someone with more experience than me will give me some helping tips. I would really appreciate it.
-The one thing that I've managed to make is a number being increased when when a button is pressed, and another number to decrease when the other button is pressed. And then the final number can be calculated by adding thw two numbers. Problem is that I use three variables instead of just the one, and there has to be a more celicate solution. Also, with this solution the numbers will increase and increase neverending, so after some while I expect the system to crash because the numbers get too big. We've also made a program that resets these numbers before they get too big, and this actually works, but still we can't help thinking that we've made a solution much more complex than we really need.
Thank you very much for hints
🙂