starter pulse
Posted: Tue Feb 12, 2019 5:28 am
I am working on ignition and starter, I want to make k.ignition to have 3 states: 0, 1 and 2.
K.starter button active for 3 seconds once it pressed only when k.ignition at state 2 .
I did
- lookup3 operation in 'n' to state the k.ignition
- pulse operation in function to pulse the k.starter 3s
The result
It works fine when I press in right sequence: press k.ignition until state 2 then press k.starter,
but when k.starter pressed first I notice pulse will active (the o.starter not active due to ignition not in state 2), so if k.ignition pressed before pulse time ending, the o.starter will on
Is there other way to do it?
Appreciate your help
K.starter button active for 3 seconds once it pressed only when k.ignition at state 2 .
I did
- lookup3 operation in 'n' to state the k.ignition
- pulse operation in function to pulse the k.starter 3s
The result
It works fine when I press in right sequence: press k.ignition until state 2 then press k.starter,
but when k.starter pressed first I notice pulse will active (the o.starter not active due to ignition not in state 2), so if k.ignition pressed before pulse time ending, the o.starter will on
Is there other way to do it?
Appreciate your help