]>
zdv2.bktei.com Git - EVA-2020-02-2.git/blob - examples/light.py
216477a766db19768e9d92683f7984bc664f3fac
6 print("""light.py - Print readings from the LTR559 Light & Proximity sensor.
14 lux
= ltr559
.get_lux()
15 prox
= ltr559
.get_proximity()
16 print("""Light: {:05.02f} Lux
18 """.format(lux
, prox
))
20 except KeyboardInterrupt: