public async Task DisplayFrameAsync() { SetLut(); _epd.SendCommand((byte)SpiCommand.DISPLAY_REFRESH); while (_epd.Busy) { await Task.Delay(100); } }
public async Task DisplayFrameAsync() { _epd.SendCommand((byte)SpiCommand.DISPLAY_UPDATE_CONTROL_2); _epd.SendData(0xC4); _epd.SendCommand((byte)SpiCommand.MASTER_ACTIVATION); _epd.SendCommand((byte)SpiCommand.TERMINATE_FRAME_READ_WRITE); while (_epd.Busy) { await Task.Delay(100); } }