Added yields
This commit is contained in:
parent
f3d73f75fa
commit
13444c777d
@ -19,6 +19,7 @@ s siren Mode 10 # nice siren sound
|
|||||||
start:
|
start:
|
||||||
l storm_mode weather Mode # check weather
|
l storm_mode weather Mode # check weather
|
||||||
s announcer On 0 # reset announcer
|
s announcer On 0 # reset announcer
|
||||||
|
yield
|
||||||
beq storm_mode 1 countdown # countdown if incoming
|
beq storm_mode 1 countdown # countdown if incoming
|
||||||
j start # else return to start
|
j start # else return to start
|
||||||
|
|
||||||
@ -37,5 +38,6 @@ sgt siren_high minutes 2 # got more than 2m59s?
|
|||||||
slt siren_low minutes 1 # got less than 60s?
|
slt siren_low minutes 1 # got less than 60s?
|
||||||
nor siren_on siren_high siren_low # sound siren?
|
nor siren_on siren_high siren_low # sound siren?
|
||||||
s siren On siren_on # start siren if 1<minutes<3
|
s siren On siren_on # start siren if 1<minutes<3
|
||||||
|
yield
|
||||||
beq storm_mode 1 countdown # still waiting? go back
|
beq storm_mode 1 countdown # still waiting? go back
|
||||||
j start # reset and start waiting again
|
j start # reset and start waiting again
|
Loading…
Reference in New Issue
Block a user