getting into another project, which contain 4 pushbutton and interacting with potentiometer and 4 led.
basically what it does, is that the 4 different led (Red, orange, yellow and green) will light up according to the pushbutton press (stop, orange, green, yellow) and when the potentiometer reach a desired angle i set the led YELLOW will light up, when this part of the code is happening i can't seem to interact it with my other pushbutton eg, when i press stop pushbutton, it will not light up the red led, green will not light up green led and yellow will not light up yellow led
Anyone could tell me why? i am cracking my head trying to figure out where i have gone wrong
Much help appreciated,thank in advance!