-
Notifications
You must be signed in to change notification settings - Fork 36
Adding support for defining input pin polarity #35
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
adding support for changing the pin polarity
adding support for change the pin polarity
missing comma
Not sure what is failing for whatever "black" is. |
Hi there @ShadowClaw thanks for working on this! Black is the python code formatter that we use on all of the code in the project. You can learn about how to use it to format the code here: https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/black If you run black on the code files and then push a new commit it should resolve that actions check and let you get past it. |
fixing incorrect ipol property setters
Alright this should be good to go now. Also this has been tested on hardware and confirmed to work. |
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 tested this successfully with a Pi 16x2 LCD with a modified version of one of the examples. These changes don't interfere with anything in that example and the new invert_polarity parameter is working successfully to swap the value to opposite.
Updating https://github.com/adafruit/Adafruit_CircuitPython_MAX31856 to 0.9.3 from 0.9.2: > Update max31856_simpletest.py Updating https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx to 2.4.2 from 2.4.1: > Merge pull request adafruit/Adafruit_CircuitPython_MCP230xx#35 from shadowclaw/master Updating https://github.com/adafruit/Adafruit_CircuitPython_PCF8591 to 1.0.2 from 1.0.1: > Merge pull request adafruit/Adafruit_CircuitPython_PCF8591#2 from Techwolfy/master Updating https://github.com/adafruit/Adafruit_CircuitPython_SHTC3 to 1.0.3 from 1.0.2: > Merge pull request adafruit/Adafruit_CircuitPython_SHTC3#3 from Cybot101/sleepy-reset-fix Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Text to 2.9.2 from 2.9.1: > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#93 from eteq/add-init
No description provided.