Exemple #1
0
 public static void RefreshArea(this IT8951SPIDevice device, DisplayModeEnum mode, ushort x, ushort y, ushort width, ushort height)
 {
     device.DisplayArea(x, y, width, height, mode);
 }
Exemple #2
0
 public static void RefreshScreen(this IT8951SPIDevice device, DisplayModeEnum mode)
 => device.DisplayArea(0, 0, (ushort)device.DeviceInfo.ScreenSize.Width, (ushort)device.DeviceInfo.ScreenSize.Height, mode);