Example #1
0
        public static void Main()
        {
            var device = new SSD1306();

            DisplayLinesOnDisplay(device);

            DrawText(device, 0, 0, 2, "HO");
            DrawText(device, 0, 10, 2, "HLO");
            DrawText(device, 0, 20, 2, "HELLO");

            device.Show();
        }
Example #2
0
        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();
        }