Skip to content

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

Merged
merged 5 commits into from
Jul 16, 2019
Merged

Conversation

iraytrace
Copy link
Contributor

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

Copy link
Member

@brentru brentru left a 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

@brentru
Copy link
Member

brentru commented Jul 8, 2019

@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).

@brentru
Copy link
Member

brentru commented Jul 16, 2019

LGTM!

@brentru brentru merged commit 5b20cda into adafruit:master Jul 16, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 16, 2019
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
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