SwitchCase (Question)
hi,
i'm working on arduino project measure comfort of work place. need code. want execute different program depending on button use.
i've been trying use switchcase have problems variable.
i know it's basic question can't solve myself.
any suggestion helpful
thanks
i'm working on arduino project measure comfort of work place. need code. want execute different program depending on button use.
i've been trying use switchcase have problems variable.
i know it's basic question can't solve myself.
any suggestion helpful
thanks
you'll need give details of hardware: schematic good.... don't know mean "button", in sense of not knowing how they're wired.
do have many buttons on 1 analog pin resistor ladder perhaps?- or button on each of many digital pins.
might case "if".... "else if".... "else" rather.
show have...
do have many buttons on 1 analog pin resistor ladder perhaps?- or button on each of many digital pins.
might case "if".... "else if".... "else" rather.
show have...
Arduino Forum > Using Arduino > Project Guidance > SwitchCase (Question)
arduino
Comments
Post a Comment