using python on a Raspberry PI. I use similar code as shown below to read data from the serial port:
baud = 9600 # baud rate port = '/dev/ttyACM0' # serial URF port on this computer ser = serial.Serial(port, baud) ser.timeout = 0 var message = ser.read(9);
Essentially, I just want to be able to read the message from the serial port and perform an action based on that message.
How can this be achieved with Windows 10 Core and C #, can someone point me in the right direction or provide me some sample code?
Thanks to Advance for the help you received.
source share