Skip to content

Commit

Permalink
reconfigure led flashes
Browse files Browse the repository at this point in the history
  • Loading branch information
cipy committed May 1, 2021
1 parent 4bce3f2 commit fe7b32a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# take ur time
#utime.sleep(5)

# surpize! boot.py globals are visible in main (too)
# lets turn off the timer, then led, if we got here
# surpise! boot.py globals are visible in main (too)
# reconfigure the timer, hence led to flash a bit less
timer.init(freq=1, mode=Timer.PERIODIC, callback=tick)

# instantiate all (3) distance sensors
Expand Down

0 comments on commit fe7b32a

Please sign in to comment.