less blasty output

This commit is contained in:
lady ada 2020-12-27 13:35:05 -05:00
parent 0169adc7cc
commit bfb99ccb56

View file

@ -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))