-
Notifications
You must be signed in to change notification settings - Fork 20
bitcount argument to shift_out() #41
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.
Thanks for adding this PR, requesting two small changes...
You'll also need to fix some of the PyLint errors to pass the Travis check: https://travis-ci.com/adafruit/Adafruit_CircuitPython_SimpleIO/builds/117075982#L613
@iraytrace Thanks for adding the exception. I can't merge this until the PyLint check for Travis passes (pylint log here: https://travis-ci.com/adafruit/Adafruit_CircuitPython_SimpleIO/builds/117231893#L556). |
LGTM! |
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 1.6.0 from 1.5.0: > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#45 from docmollo/docs_wpa2_wifimgr Updating https://github.com/adafruit/Adafruit_CircuitPython_PyPortal to 3.0.5 from 3.0.4: > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#43 from dastels/master Updating https://github.com/adafruit/Adafruit_CircuitPython_CursorControl to 2.1.1 from 2.1.0: > Merge pull request adafruit/Adafruit_CircuitPython_CursorControl#9 from brentru/patch-generate-cursor Updating https://github.com/adafruit/Adafruit_CircuitPython_Hue to 1.0.1 from v1.0.0: > Merge pull request adafruit/Adafruit_CircuitPython_Hue#8 from NanoDano/patch-2 > Merge pull request adafruit/Adafruit_CircuitPython_Hue#7 from NanoDano/patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_SimpleIO to 1.2.1 from 1.2.0: > Merge pull request adafruit/Adafruit_CircuitPython_SimpleIO#41 from iraytrace/master Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Added the following libraries: Adafruit_CircuitPython_MiniMQTT
Changes allow arbitrary bit count to be handled by shift_out(). Default parameter value preserves old behavior. Note this does fail when bitcount > 2^31