forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Support for Pimoroni board with IO Expanders #7440
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
Closed
Closed
Changes from 29 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
c3f50bb
Initial Yukon bindings
ZodiusInfuser 3464972
Added TCA Pin object
ZodiusInfuser 7c49200
Updated Yukon pinout
ZodiusInfuser 2f78d23
Driver functions for TCA, and DigitalInOut/FourWire updates
ZodiusInfuser 004afbc
Reduced transactions to single bytes to speed up comms
ZodiusInfuser 2fa0c7e
Cleaned up Yukon bootup, and general improvements
ZodiusInfuser 9a87742
Remove unnecessary include
ZodiusInfuser 4257062
Moved TCA pins from microcontroller.pin to TCA module
ZodiusInfuser f31d16c
Move TCA pin defines to own binding and added some handy macros
ZodiusInfuser 851556e
Move TCA pin defines out of peripheral
ZodiusInfuser 6eb396b
Merge branch 'main' into yukon
ZodiusInfuser 241638e
Re-add missing makefile command
ZodiusInfuser 494a203
Elevate new arg_name to common_hal_digitalio
ZodiusInfuser 10a79f6
Yukon linting fixes
ZodiusInfuser dc55049
Fixed incorrect pins discovered whilst testing
ZodiusInfuser 63b5c3d
Added TCA function to set and clear multiple pins in a single operati…
ZodiusInfuser 137361b
Only send TCA changes to output and direction if different from read …
ZodiusInfuser 7055485
Fix for upper byte not getting handled correctly
ZodiusInfuser 13ef8f0
Switched to local memory for reading state, and added faster method f…
ZodiusInfuser b8b7c2e
Merge branch 'main' into yukon
ZodiusInfuser 642b679
Updated to final USB PID
ZodiusInfuser 7fbfbc6
Formatting fix
ZodiusInfuser 8b186c6
Added frozen modules for motors and LEDs
ZodiusInfuser 76655f1
Added ID to each yukon slot
ZodiusInfuser d856ebf
Merge branch 'adafruit:main' into yukon
ZodiusInfuser bf0ff38
Fix TCA local memory
ZodiusInfuser fba84d6
Big tidy up of TCA driver
ZodiusInfuser acd25b2
Fix default config for tca
ZodiusInfuser 55ca342
Removed redundant state writes
ZodiusInfuser 827862e
Updated pins for new hardware, and addressed a issued raised in PR
ZodiusInfuser 80b098b
Merge branch 'main' into yukon
ZodiusInfuser 137d74d
Fixed issued flagged by elevated warnings
ZodiusInfuser 34b3479
Included TCA mask functions for config and polarity
ZodiusInfuser 1be2b3b
Added a new argcheck against two types
ZodiusInfuser 3d8ce0a
Switched to argchecks and added python stub comments
ZodiusInfuser 0c16ad2
Fix type in python stub
ZodiusInfuser a65416a
prefixed TCA functions with common_hal
ZodiusInfuser fc79d9e
Copied TCA9555 implementation from raspberrypi to shared folders
ZodiusInfuser 6e5edcc
Removed old TCA9555 files
ZodiusInfuser b4a2eae
Undo locale changes
ZodiusInfuser 3d18182
Cleaned up includes
ZodiusInfuser 9353cfb
Update company name in copyright
ZodiusInfuser 17955c8
Updated Yukon pin constant, for consistency
ZodiusInfuser 78e76c4
Changed initial IO Expander output state
ZodiusInfuser File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.