9 years, 1 month ago.

Only works when commenting start()

Hi, I have a similar issue than someone else posted in a different post. It only works when I commend the start() function in the I2CPreInit class. When this function is present, it does not work. Any idea why start() would be called during initialization?

Question relating to:

A derived version of the BSD licensed Adafrut GFX library for the SSD1306 controller for an OLED 128x32 or 128x64 display using SPI or I2C. display, I2C, OLED, SPI, SSD1306

1 Answer

9 years, 1 month ago.

the GFX lib needs the initialized I2C/SPI already in the constructor because there it displays the 'power on logo'. In my LPC1347 this works fine, but it may depend on the I2C implentation.Some interrupt stuff that is not up and running that time?