-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjusted begin() to accept addresses and port, created beginSPI()
-begin now accepts three arguments (accel/gyro address, mag address, i2c port). Note, this is used for I2C. -created beginSPI(). Use this now to use SPI. Requires arguments for CS pins. -removed Wire.begin() from inside library. It is now required that users call this in their Arduino sketches. -adjusted all examples to use new functions and added Wire.begin(). -removed constructor with arguments for interface_mode and addresses. This is now handled in begin functions. -FYI, I verified everything (including trying out a different wire port) on an artemis redboard.
- Loading branch information
1 parent
ec525f1
commit a606ab8
Showing
7 changed files
with
147 additions
and
139 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.