void TestRawDisplayAPI() { display.Clear(true); for (int i = 0; i < 30; i++) { display.DrawPixel(i, i, true); display.DrawPixel(30 + i, i, true); display.DrawPixel(60 + i, i, true); } display.Show(); }
private static void DisplayLinesOnDisplay(SSD1306 device) { for (int y = 0; y < 64; y++) { for (int x = 0; x < 128; x++) { var shouldDisplay = x % 2 == 0 ? true : false; device.DrawPixel(x, y, shouldDisplay); } } }