public static void Main() { Configuration.SetPinFunction(21, DeviceFunction.I2C1_DATA); Configuration.SetPinFunction(22, DeviceFunction.I2C1_CLOCK); oled = new SSD1306("I2C1", 128, 64, 0x3C); oled.Init(); Console.WriteLine("---------------------"); Console.WriteLine("Start SSD1306 Display"); Console.WriteLine("---------------------"); oled.Display(); Thread.Sleep(500); oled.Clear(); Thread.Sleep(500); while (true) { SSD1306Demo(); } }