-
Notifications
You must be signed in to change notification settings - Fork 58
Interface change for #17 #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hooray for standard usage among friends! 🎉
Couple questions. Looks good!
note: I don't have hardware to test
Forgot to check this last night during review. With this change, the following Learn Guide will need to be updated: Also, not sure of the CPython library status, but this one may need a look as well: |
adafruit_ads1x15/ads1x15.py
Outdated
|
||
@mode.setter | ||
def mode(self, mode): | ||
if mode != _ADS1X15_CONFIG_MODE_CONTINUOUS or mode != _ADS1X15_CONFIG_MODE_SINGLE: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change or
to and
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I zoomed straight past that one. Even scrolled up and checked that those were the only options.
@kattni, I'll leave this for you to merge, since there is at least one Learn Guide update as noted above. |
@kattni ping |
@caternuson Would you be able to update the guide? |
Sure. That first guide linked should get updated. Can you ask if that second one should maybe get deprecated? |
@caternuson Yep, looking into it. I'll let you know what I find out. |
Merging this. Carter is going to be updating the guides. |
@caternuson We're going to deprecate the second guide. |
Thanks. Will update the other one. |
we'll also archive https://github.com/adafruit/Adafruit_Python_ADS1x15 |
@ladyada checked. nothing relatable. added more info here: |
yep! @kattni can show you how to close all the issues, PRs, update the README and then Archive the repo |
Updating https://github.com/adafruit/Adafruit_CircuitPython_ADS1x15 to 1.0.0 from 0.5.3: > Merge pull request adafruit/Adafruit_CircuitPython_ADS1x15#19 from caternuson/iss17_update Updating https://github.com/adafruit/Adafruit_CircuitPython_BluefruitSPI to 1.0.1 from 1.0.0: > Merge pull request adafruit/Adafruit_CircuitPython_BluefruitSPI#7 from adafruit/tannewt-patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_BME280 to 2.2.1 from 2.2.0: > Merge pull request adafruit/Adafruit_CircuitPython_BME280#18 from robert-hh/master Updating https://github.com/adafruit/Adafruit_CircuitPython_CharLCD to 3.0.3 from 3.0.2: > Merge pull request adafruit/Adafruit_CircuitPython_CharLCD#23 from adafruit/pypi-readme Updating https://github.com/adafruit/Adafruit_CircuitPython_DS3231 to 2.1.2 from 2.1.1: > Merge pull request adafruit/Adafruit_CircuitPython_DS3231#13 from adafruit/lowercase_module_name Updating https://github.com/adafruit/Adafruit_CircuitPython_TLC5947 to 1.2.0 from 1.1.1: > Merge pull request adafruit/Adafruit_CircuitPython_TLC5947#8 from ArthurDent62/chain_TLCs Updating https://github.com/adafruit/Adafruit_CircuitPython_Motor to 1.3.3 from 1.3.2: > Merge pull request adafruit/Adafruit_CircuitPython_Motor#20 from adafruit/pypi-readme
NOTE - This is a huge API breaking complete rewrite of this library.
Anywho, it now works like the MCP3xxx lib and fixes #17.
Single-Ended:
Differential: