8000 Update 08_blynk_timer.py · librarysteve/lib-python@392f2d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 392f2d4

Browse files
authored
Update 08_blynk_timer.py
1 parent 96b7dad commit 392f2d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/08_blynk_timer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@
5555
import blynktimer
5656
import random
5757

58-
BLYNK_AUTH = 'YourAuthToken'
58+
BLYNK_AUTH = 'YourAuthToken' # insert your Auth Token here
5959
blynk = blynklib.Blynk(BLYNK_AUTH)
60-
timer = blynktimer.Timer()
60+
timer = blynktimer.Timer() # create a new Timer instance
6161

6262
WRITE_EVENT_PRINT_MSG = "[WRITE_VIRTUAL_WRITE] Pin: V{} Value: '{}'"
6363

6464

65-
# register two timers for different pins with different intervals
65+
# Code below: register two timers for different pins with different intervals
6666
# first num is delay interval in seconds
6767
# second num is function argument
6868
# run_once flag that allows run timers once or periodically

0 commit comments

Comments
 (0)
0