help me in coding
KARIM102
Posts: 75
Hi everybody!!!! is anyone know how i can make code in BS2 microcontroller!!! i would like to use three Tact·sw all has differenlt LED color output!!!!! when i press sw 1 then sw 2 then sw 3 then the·4 LED will illuminate!!!!!!!!! and if i don't do it in the right order the 4 LED won't·illuminate!!!!
best wishes
thx
·
best wishes
thx
·
Comments
Then work with this
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
www.parallax.com/tabid/535/Default.aspx
www.parallax.com/tabid/440/Default.aspx
thx again
switch pin 4
switch1 pin 5
switch2 pin 6
switch3 pin 7
Main:
High 0 this will make ur pin 0·LED high which would be on pin 0
High 1 this will make ur pin·1·LED high which would be on pin 1
High 2 this will make ur pin·2·LED high which would be on pin 2
High 3 this will make ur pin·3·LED high which would be on pin 3
If switch=1 then
If switch1=1 then
If switch2= 1 then
If switch3= 1 then
low 0
low 1
low 2
low 3
pause 1000
endif
endif
endif
endif
END
·