C# serial communication
using System; //using OpenNETCF.IO.Ports; using System.IO.Ports; namespace ConsoleApp1 { class Program { static void Main(string[] args) { SerialPort port = new SerialPort("COM43", 115200, Parity.None, 8, StopBits.One); port.Open(); System.Threading.Thread.Sleep(1000); // waiting for Arduino reset for (int i = 0; i < 1000; i++) { Console.WriteLine(port.BytesToRead); // it write on the console only zeros, so no data …
![[Ubuntu] SSL 인증서 설치](/wp-content/uploads/1/6683161674.png)
![[C#] dll을 포함한 단일 exe배포 방법](/wp-content/uploads/1/9233676087.png)