Skip to content

Conversation

@caternuson
Copy link

BREAKING CHANGE

For #18

Change proximity to a property. Examples and docs updated as needed. Also added new example apds9960_simpletest.py to comply with standard practice for example naming.

Adafruit CircuitPython 5.0.0 on 2020-03-02; Adafruit CLUE nRF52840 Express with nRF52840
>>> import board
>>> from adafruit_apds9960.apds9960 import APDS9960
>>> apds = APDS9960(board.I2C())
>>> apds.enable_proximity
False
>>> apds.proximity
0
>>> apds.enable_proximity = True
>>> apds.proximity
32
>>> apds.proximity
84
>>>  

@caternuson caternuson requested a review from a team March 10, 2020 18:05
@caternuson caternuson merged commit e0d80f6 into adafruit:master Mar 10, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Mar 11, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_APDS9960 to 2.0.0 from 1.2.7:
  > Merge pull request adafruit/Adafruit_CircuitPython_APDS9960#19 from caternuson/iss18

Updating https://github.com/adafruit/Adafruit_CircuitPython_CLUE to 2.1.1 from 2.1.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_CLUE#23 from caternuson/prox_update
  > update pylintrc for black
  > build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'

Updating https://github.com/adafruit/Adafruit_CircuitPython_HT16K33 to 4.0.0 from 3.2.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_HT16K33#70 from geekguy-wy/constructor_brighness_parameter
  > Manual merge of adafruit/Adafruit_CircuitPython_HT16K33#63
  > update pylintrc for black
  > Merge pull request adafruit/Adafruit_CircuitPython_HT16K33#69 from makermelissa/set_digit_raw
  > build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'
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.

2 participants