Updated SSD1306 Code

EDIT: Nevermind. I wasn’t resetting the display correctly. The code below works!

Hi! Is there any updated code (or similar starting point) for interfacing with an SSD1306 OLED? I see it was refactored at some point and some of the old examples don’t seem to be working.
Right now I have this:

  I2cController i2CController = I2cController.FromName(SC13048.I2cBus.I2c1);
  I2cDevice device = i2CController.GetDevice(SSD1306Controller.GetConnectionSettings());
  SSD1306Controller ctl = new SSD1306Controller(device);

Which is giving me errors like " device.BytesToRead’ threw an exception of type 'System.NotSupportedException" and “{System.NotSupportedException: Not supported in master mode.}”

Just trying to determine if it’s the driver, syntax, or my hardware :slight_smile: thanks