Local changes to increase sample rate
Fork of X_NUCLEO_COMMON by
Diff: DevI2C/DevI2C.h
- Revision:
- 22:daf134fdbbaf
- Parent:
- 19:12be3dfc15fd
--- a/DevI2C/DevI2C.h Mon Oct 10 06:55:02 2016 +0000 +++ b/DevI2C/DevI2C.h Sun May 21 12:53:32 2017 +0000 @@ -76,6 +76,8 @@ DevI2C(PinName sda, int mode_sda, PinName scl, int mode_scl) : I2C(sda, scl) { pin_mode(sda, (PinMode)mode_sda); pin_mode(scl, (PinMode)mode_scl); + //frequency(400000); + } /**