less blasty output
This commit is contained in:
parent
0169adc7cc
commit
bfb99ccb56
1 changed files with 3 additions and 0 deletions
|
|
@ -53,7 +53,10 @@ while True:
|
|||
magtag.peripherals.neopixels.fill((128, 0, 0))
|
||||
|
||||
else:
|
||||
time.sleep(1)
|
||||
remaining = alarm_time - (time.time() - start)
|
||||
if (remaining < 0):
|
||||
remaining = 0
|
||||
print(remaining)
|
||||
if remaining == 0:
|
||||
magtag.peripherals.neopixels.fill((255, 0, 0))
|
||||
|
|
|
|||
Loading…
Reference in a new issue