Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Servo MC33926 encoder
Fork of FlexV1 by
Diff: I2Cdev.cpp
- Revision:
- 2:f8bfb37b2e1f
- Parent:
- 1:1e0baaf91e96
- Child:
- 8:3c174bef1dbd
--- a/I2Cdev.cpp Wed May 08 00:34:55 2013 +0000
+++ b/I2Cdev.cpp Sun May 12 10:54:50 2013 +0000
@@ -7,12 +7,12 @@
#define useDebugSerial
-I2Cdev::I2Cdev(): debugSerial(USBTX, USBRX), i2c(I2C_SDA,I2C_SCL)
+I2Cdev::I2Cdev(): i2c(I2C_SDA,I2C_SCL), debugSerial(USBTX, USBRX)
{
}
-I2Cdev::I2Cdev(PinName i2cSda, PinName i2cScl): debugSerial(USBTX, USBRX), i2c(i2cSda,i2cScl)
+I2Cdev::I2Cdev(PinName i2cSda, PinName i2cScl): i2c(i2cSda,i2cScl), debugSerial(USBTX, USBRX)
{
}
