Skip to content

Conversation

@caternuson
Copy link
Contributor

Fix for #7 so it will work on RPI:

pi@pizerow:~$ python3 vl6180x_simpletest.py 
Range: 125mm
Light (1x gain): 248.0lux
Range: 102mm
Light (1x gain): 62.4lux
Range: 109mm
Light (1x gain): 34.88lux

and still works on CP:

Adafruit CircuitPython 4.1.0 on 2019-08-02; Adafruit Metro M4 Airlift Lite with samd51j19
>>> import vl6180x_simpletest
Range: 255mm
Light (1x gain): 366.08lux
Range: 255mm
Light (1x gain): 363.84lux
Range: 132mm
Light (1x gain): 16.0lux

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@tannewt tannewt merged commit 9929cd3 into adafruit:master Sep 3, 2019
@ladyada
Copy link
Member

ladyada commented Sep 3, 2019

@caternuson plz bump

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 4, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_LIDARLite to 1.1.2 from 1.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_LIDARLite#5 from dastels/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_VL6180X to 1.1.4 from 1.1.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_VL6180X#8 from caternuson/iss7

Updating https://github.com/adafruit/Adafruit_CircuitPython_BitmapSaver to 1.0.1 from 1.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_BitmapSaver#3 from dastels/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Added the following libraries: Adafruit_CircuitPython_BitmapSaver, Adafruit_CircuitPython_LIFX, Adafruit_CircuitPython_PYOA, Adafruit_CircuitPython_turtle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants