AW: AW: AW: [basicstamps] inA and for next
Archiver
Posts: 46,084
Hi Tracy,
thanks a big lot!
I found a solution, though it looks like a monster it works!
START:
debug cls
wert = ~inl 'pins 0-7
digit= ncd wert
debug? digit 'gives no. of sensor
debug? ncd (~(dcd (digit-1))& wert) 'gives no. of another sensor if there
is one
if digit=0 then start
The final hint was that you said I must AND two complements.
Thanks for the lesson, teacher! :-)
Uli
Urspr
thanks a big lot!
I found a solution, though it looks like a monster it works!
START:
debug cls
wert = ~inl 'pins 0-7
digit= ncd wert
debug? digit 'gives no. of sensor
debug? ncd (~(dcd (digit-1))& wert) 'gives no. of another sensor if there
is one
if digit=0 then start
The final hint was that you said I must AND two complements.
Thanks for the lesson, teacher! :-)
Uli
Urspr