-
-
Notifications
You must be signed in to change notification settings - Fork 80
Implement I2CDevice class on EV3 #379
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
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
75b4623
pbio/port_dcm_ev3: Invert category type assertion.
laurensvalk cbd6a12
pbio/port: Generalize active sensor process.
laurensvalk d5a9031
pbio/drv/ioport: Don't pass uart to mode setter.
laurensvalk 9057f17
pbio/port: Implement mode setter for I2C.
laurensvalk 147d4ce
pybricks.nxtdevices: Enable UltrasonicSensor.
laurensvalk 10d07fd
pbio/port: Reset power to port on disconnect.
laurensvalk cf1443f
pbio/port_dcm_ev3: Drop outer loop.
laurensvalk df1f264
pybricks.nxtdevices.UltrasonicSensor: Enable battery power.
laurensvalk df3f8db
pybricks.iodevices.I2CDevice: Implement for embedded Pybricks.
laurensvalk a27b301
pybricks.iodevices.I2CDevice: Use bytes obj as buffer.
laurensvalk 7322144
pybricks.iodevices.I2CDevice: Implement legacy read and write.
laurensvalk d18915a
pbio/drv/i2c_ev3: Turn off debug output.
laurensvalk 5232d11
pybricks.iodevices.I2CDevice: Save state only after success.
laurensvalk 4af1fcf
pbio/drv/i2c_ev3: Absorb quirk delay time.
laurensvalk 6122f18
pybricks.nxtdevices.UltrasonicSensor: Implement in Python.
laurensvalk d539ac2
pybricks.iodevices.I2CDevice: Use return map callback.
laurensvalk aca8fa0
pybricks.iodevices.I2CDevice: Don't allocate until success.
laurensvalk 9a73bbc
pybricks.iodevices.I2CDevice: Use common operation for read/write.
laurensvalk 0f3af49
pybricks.iodevices.I2CDevice: Update type name.
laurensvalk 1db55b0
pybricks.iodevices.I2CDevice: Generalize object interface.
laurensvalk 6c139ee
pybricks.nxtdevices.UltrasonicSensor: Implement in C.
laurensvalk 5932986
pybricks.iodevices.I2CDevice: Add helper for asserting id string.
laurensvalk 5a25e4b
pybricks.nxtdevices: Add TemperatureSensor.
laurensvalk 8821de6
pbio/drv/ioport: Clean up pin setting.
laurensvalk 6e4db00
pybricks.iodevices.I2CDevice: Drop write_then_read method.
laurensvalk 8346ad3
pybricks.iodevices.I2CDevice: Limit write to reg to 32 bytes.
laurensvalk 7cd3f2f
pbio/drv/i2c_ev3: Retry once on NAK.
laurensvalk 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
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
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
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.