i2c speed test for issue #79

This commit is contained in:
olikraus
2016-11-02 17:08:04 +01:00
parent 6c81aaab26
commit d1612c96b0
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -382,7 +382,7 @@ extern "C" uint8_t u8x8_byte_arduino_hw_i2c(u8x8_t *u8x8, uint8_t msg, uint8_t a
/* if there is any error with Wire.setClock() just remove this function call */
if ( u8x8->display_info->i2c_bus_clock_100kHz >= 4 )
{
Wire.setClock(400000);
Wire.setClock(400000L);
}
#endif
Wire.beginTransmission(u8x8_GetI2CAddress(u8x8)>>1);