i have 3 switches SW1, SW2,SW3
starting always from SW1 in need the pic to know which is pressed because dependanct on the switch pressed i need to send eg pulses for example
Starting from SW1
if Sw1 is pressed nothing happens
if SW2 is pressed i need to send 1 pulse
if sw3 is pressed i need to send 2 pulses
starting always from SW1 in need the pic to know which is pressed because dependanct on the switch pressed i need to send eg pulses for example
Starting from SW1
if Sw1 is pressed nothing happens
if SW2 is pressed i need to send 1 pulse
if sw3 is pressed i need to send 2 pulses