示例#1
0
 private void worker_DoWork(object sender, DoWorkEventArgs e)
 {
     e.Result = C_SPI.WriteData(e.Argument as byte[]);
 }
示例#2
0
文件: C_SPI.cs 项目: gr4viton/eye_out
 public static void INIT()
 {
     C_SPI.SETUP("COM6", 57600, System.IO.Ports.Parity.None, 8, System.IO.Ports.StopBits.One);
 }
示例#3
0
 public void INIT_spi()
 {
     C_SPI.INIT();
 }