Simplified logic
This commit is contained in:
parent
a8fb402ef2
commit
e2368d82c6
@ -35,9 +35,9 @@ s readout Setting minutes # send to display
|
||||
j warning
|
||||
|
||||
warning:
|
||||
sgt siren_high minutes 2 # got more than 2m59s?
|
||||
slt siren_low minutes 1 # got less than 60s?
|
||||
nor siren_on siren_high siren_low # sound siren?
|
||||
slt siren_high minutes 2 # got more than 2m59s?
|
||||
sgt siren_low minutes 1 # got less than 60s?
|
||||
and siren_on siren_high siren_low # sound siren?
|
||||
s siren On siren_on # start siren if 1<minutes<3
|
||||
beq storm_mode 1 countdown # still waiting? go back
|
||||
j start # reset and start waiting again
|
Loading…
Reference in New Issue
Block a user