lights

can any one give me a code for begin able to press a button to turn light on there are 4 button and 4 lights thank you
Last edited on
1
2
3
4
5
6
bool pressed = true;

if(pressed)
{
    //turn light 1 on
}



In all seriousness that would be pretty much impossible for us to help with without you providing more information.
Topic archived. No new replies allowed.