olikraus / u8g2

U8glib library for monochrome displays, version 2
Other
5.07k stars 1.05k forks source link

Modify library so that Teensy devices can use teensy4_i2c instead of Wire #2374

Open Rudgas opened 7 months ago

Rudgas commented 7 months ago

Same as the request for the teensy 3, there is a more elaborate Wire library for teensy 4 Richard-Gemmell/teensy4_i2c/ For now it works by just exchanging all Wire.h references to i2c_driver_wire.h. But it would be a bit nicer if it's possible to set the preferred Wire library directly :-)

olikraus commented 7 months ago

Difficult... but I would accept a pull request if the I2C lib is encapsulated in proper #ifdef's