/// <summary> /// Send a stream to the Display /// </summary> /// <param name="stream"></param> public void SendData(MemoryStream stream) { EPaperDisplayHardware.SpiDcPin = PinValue.High; EPaperDisplayHardware.SpiCsPin = PinValue.Low; EPaperDisplayHardware.Write(stream); EPaperDisplayHardware.SpiCsPin = PinValue.High; }
/// <summary> /// Send a Data Array to the Display /// </summary> /// <param name="data"></param> public void SendData(byte[] data) { EPaperDisplayHardware.SpiDcPin = PinValue.High; EPaperDisplayHardware.SpiCsPin = PinValue.Low; EPaperDisplayHardware.Write(data); EPaperDisplayHardware.SpiCsPin = PinValue.High; }