mirror of
https://github.com/olikraus/u8g2.git
synced 2026-09-12 09:42:51 +00:00
i2c speed test for issue #79
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user