private void worker_DoWork(object sender, DoWorkEventArgs e) { e.Result = C_SPI.WriteData(e.Argument as byte[]); }
public static void INIT() { C_SPI.SETUP("COM6", 57600, System.IO.Ports.Parity.None, 8, System.IO.Ports.StopBits.One); }
public void INIT_spi() { C_SPI.INIT(); }