pimoroni / vl53l1x-python

Python library for the VL53L1X Laser Ranger
https://shop.pimoroni.com/products/vl53l1x-breakout
94 stars 53 forks source link

Adds mqtt example #38

Closed robmarkcole closed 2 years ago

robmarkcole commented 4 years ago

As title. My editor black formatted the setup.py, hope thats OK

image
Gadgetoid commented 2 years ago

Thank you. I tweaked the example to better handle Ctrl+C - it was stalling for me since the global scope running variable was shadowed by the local scope in main().

I've also reverted setup.py because it throws an error when I try to run it- example dependencies don't need to be included in the library, anyway.