$ 0 0 Sure, you can make the toggle conditional on the state of the button. I'm not sure if that helps, but this should be a simple C coding exercise.