async void _init() { await Task.Delay(500); _factory.Init(); _oled = _factory.GetComponent<IOLED_SSD1306_I2C>(); _a1 = _factory.GetComponent<IExplorerHat_AnaloguePlug1>(); await _a1.Init(); await _oled.Init(OLEDConstants.SSD1306_I2C_ADDRESS, OLEDDisplaySize.SSD1306_128_64); _oled.Display(); _loop(); }
async void _init() { await Task.Delay(500); _factory.Init(); _oled = _factory.GetComponent <IOLED_SSD1306_I2C>(); _a1 = _factory.GetComponent <IExplorerHat_AnaloguePlug1>(); await _a1.Init(); await _oled.Init(OLEDConstants.SSD1306_I2C_ADDRESS, OLEDDisplaySize.SSD1306_128_64); _oled.Display(); _loop(); }