SSD1306 I2C Display on DUE
get following error message when compiling (DUE):
C:\Users\ADMIN\AppData\Local\Temp\arduino_build_707175\sketch\ui.cpp.o:(.data.u8g_dev_ssd1306_128x64_i2c+0x8): undefined reference to `u8g_com_null_fn'
collect2.exe: error: ld returned 1 exit status
any idea?
C:\Users\ADMIN\AppData\Local\Temp\arduino_build_707175\sketch\ui.cpp.o:(.data.u8g_dev_ssd1306_128x64_i2c+0x8): undefined reference to `u8g_com_null_fn'
collect2.exe: error: ld returned 1 exit status
any idea?
Comments
Think they are using their own I2C routines ?
3.3V is not the problem (tried with level shifter from 5 ->3.3 on Mega and works)
Any idea from your side?
Anyway ,i was just playing around, don´t know if i find the time to search the error
#if defined(__AVR__)
to
#if defined(__AVR__) || defined(__SAM3X8E__)
My setup: Ultratronics + SSD1306 on alternate i2c port (pins 70-71) + firmware 1.0.0dev
Hope it helps
u8g_InitI2C(&u8g,&u8g_dev_ssd1306_128x64_i2c,U8G_I2C_OPT_NONE);
to
u8g_InitI2C(&u8g,&u8g_dev_ssd1306_128x64_i2c,U8G_I2C_OPT_DEV_1);
?
when keeping device0(pins 20/21) there seems to be bus problems with I2C eeprom
I verified that the display lights up connected on device0 too, but I don't have an I2C eeprom.
may be i´ll play around with that and if i find a solution to have eeprom and Display on one Port I´ll inform you