[SOLVED] Problem with the "vshymanskyy/blynk-library-python" library

I´m trying to add blynk to a python script running some neopixels. The script terminates after blynk connects.

How can I solve this ?

TCP: Connecting to 192.168.1.2:8442
Blynk connection successful, authenticating…
Access granted, happy Blynking!
Traceback (most recent call last):
File “heart.py”, line 21, in
blynk.run()
File “/usr/lib/python2.7/BlynkLib.py”, line 378, in run
self._start_time = sleep_from_until(self._start_time, IDLE_TIME_MS)
File “/usr/lib/python2.7/BlynkLib.py”, line 78, in sleep_from_until
while time.ticks_diff(start, time.ticks_ms()) < delay:
AttributeError: ‘module’ object has no attribute ‘ticks_diff’

@EspenT please try the latest version from master branch

Wow… That was fast fix. Thank you very much. Now I can go ahead and try to figure out how to write my script :slight_smile:

1 Like