Im making a project which has 3 buttons. This buttons are used to switch between states.
When I press button 0 the state becomes 0. When I press button 1, the state becomes 1 for a moment. But after that the state becomes 0 zero again. I want the button state to remain 1 when I press it.
Any idea what im doing wrong?
I know it would help if I post the code. But its a lot.....