janosandi
Full Member level 4
hello Guys
how can i write this code in mikroC:
if portB.0 = 0 & portB.B1 = 0 & portB.B2 = 0 then do something
Or
if portB.0 = 0 or portB.B1 = 0 or portB.B2 = 0 then do something
& how can i use DO statement to keep in sub function? like
do portc.0 = 1 until portb.b0 = 1
thx for help guys
how can i write this code in mikroC:
if portB.0 = 0 & portB.B1 = 0 & portB.B2 = 0 then do something
Or
if portB.0 = 0 or portB.B1 = 0 or portB.B2 = 0 then do something
& how can i use DO statement to keep in sub function? like
do portc.0 = 1 until portb.b0 = 1
thx for help guys