Local changes to increase sample rate
Fork of X_NUCLEO_COMMON by
Revision 22:daf134fdbbaf, committed 2017-05-21
- Comitter:
- Arkadi
- Date:
- Sun May 21 12:53:32 2017 +0000
- Parent:
- 19:12be3dfc15fd
- Commit message:
- local libary
Changed in this revision
DevI2C/DevI2C.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 12be3dfc15fd -r daf134fdbbaf DevI2C/DevI2C.h --- 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); + } /**