コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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;
 }