Skip to content

Commit e6b797a

Browse files
committed
Update Wire.cpp
1 parent c34a7b9 commit e6b797a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/Wire/src/Wire.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ arduino::MbedI2C::MbedI2C(int sda, int scl) : _sda(sda), _scl(scl), usedTxBuffer
1010
void arduino::MbedI2C::begin() {
1111
if(!master){
1212
master = new mbed::I2C((PinName)_sda, (PinName)_scl);
13+
setClock(100000); //Default to 100kHz
1314
}
1415
}
1516

0 commit comments

Comments
 (0)