Example #1
0
 public async Task<IOLED_SSD1306_I2C> Init(int address, OLEDDisplaySize displaySize)
 {
     var writer = new OLED_SSD1306_I2CIO(_device);
     await writer.Init(address);
     _writer = writer;
     Init(displaySize);
     return this;
 }
Example #2
0
        public async Task <IOLED_SSD1306_I2C> Init(int address, OLEDDisplaySize displaySize)
        {
            var writer = new OLED_SSD1306_I2CIO(_device);
            await writer.Init(address);

            _writer = writer;
            Init(displaySize);
            return(this);
        }