the old fart
Senior Member
Hi Guys,
Before I put an order in for the chips, can you check my thinking please.
I require 3 'pulsin' inputs, from a radio control unit. (from spare inputs on my model boat RC.)
The pulse width of each input will determine what happens to a bank of relays and/or opto isolators.
If I use the 20M2 chip I can use multiple starts, I believe.
so would this work:
My thinking is that whilst b4 is in a 'pause' condition then b5 and b6 will still be processed.
I already use the 'pulsin' on a 20X2, but there is a wait until the program finishes other tasks.
thanks
TOF
Before I put an order in for the chips, can you check my thinking please.
I require 3 'pulsin' inputs, from a radio control unit. (from spare inputs on my model boat RC.)
The pulse width of each input will determine what happens to a bank of relays and/or opto isolators.
If I use the 20M2 chip I can use multiple starts, I believe.
so would this work:
Code:
start0:
do
pulsin c.1,1,b4
pulsin c.2,1,b5
pulsin c.3,1,b6
loop
start1:
; evaluate b4
do
;program
loop
start2:
; evaluate b5
do
;program
loop
start3:
; evaluate b6
do
;program
loop
My thinking is that whilst b4 is in a 'pause' condition then b5 and b6 will still be processed.
I already use the 'pulsin' on a 20X2, but there is a wait until the program finishes other tasks.
thanks
TOF