hi there,
i would like to have four small 128x64 OLED displays connected to my teensy 4.0 i was hoping to use i2c port 0 and 1 for that. since these cheap OLED displays can only change address from 0x7C to 0X7D i can have a maximum of two per bus.
there is a quite nice library by oli kraus, which i used in the past on an arduino (uno). apparently there is an issue with enumerating the i2c devices with teensy (as his library depends on this enumeration to talk to the 2nd hw port) here is the issue: https://github.com/olikraus/u8g2/issues/1175
i tried replacing wire.h with the teensy i2ct3.h in the library but then i get the following error in compilation:
so it seems i2c_t3 is not a drop in replacement.
has anybody used more then two of these ssh1106 or ssd1306 displays on a teensy 4 with two i2c ports?
it would be nice to use the u8g2lib but i am willing to use another library as well.
i would like to have four small 128x64 OLED displays connected to my teensy 4.0 i was hoping to use i2c port 0 and 1 for that. since these cheap OLED displays can only change address from 0x7C to 0X7D i can have a maximum of two per bus.
there is a quite nice library by oli kraus, which i used in the past on an arduino (uno). apparently there is an issue with enumerating the i2c devices with teensy (as his library depends on this enumeration to talk to the 2nd hw port) here is the issue: https://github.com/olikraus/u8g2/issues/1175
i tried replacing wire.h with the teensy i2ct3.h in the library but then i get the following error in compilation:
Code:
/Arduino/libraries/U8g2_Arduino-master/src/U8x8lib.cpp:977:7: error: 'Wire' was not declared in this scope
Wire.write((uint8_t *)arg_ptr, (int)arg_int);
^
so it seems i2c_t3 is not a drop in replacement.
has anybody used more then two of these ssh1106 or ssd1306 displays on a teensy 4 with two i2c ports?
it would be nice to use the u8g2lib but i am willing to use another library as well.