Repository navigation
Additional requirements for support for up to 4 BrickPi3 - #572
Merged
Merged
Conversation
Added the imports for the other motors.
Added the inputs for up to 4 brickpi3 boards
Update __init__.py
WasabiFan
reviewed
Dec 5, 2018
| elif platform == 'brickpi3': | ||
| from ev3dev2._platform.brickpi3 import OUTPUT_A, OUTPUT_B, OUTPUT_C, OUTPUT_D | ||
| from ev3dev2._platform.brickpi3 import OUTPUT_A, OUTPUT_B, OUTPUT_C, OUTPUT_D, | ||
| OUTPUT_E, OUTPUT_F, OUTPUT_G, OUTPUT_H, |
Member
There was a problem hiding this comment.
I think you need to escape the newline
Contributor
Author
There was a problem hiding this comment.
I don't in my python code I'll do it here.
omartin2010
commented
Dec 5, 2018
omartin2010
left a comment
Contributor
Author
There was a problem hiding this comment.
Modified the suggested patch.
WasabiFan
approved these changes
Dec 14, 2018
WasabiFan
left a comment
Member
There was a problem hiding this comment.
Imports work on my machine. I don't even have one BrickPi to actually test the ports, but as long as I can import it I'm happy.
Member
|
Thanks! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Additional requirements for support for up to 4 BrickPi3