Answer the question
In order to leave comments, you need to log in
Make waiting for data input from COM3 port?
I use using System.IO.Ports; SerialPort - Windows Forms.
When I bring the card to the reader, there is a signal, that is, data is written to the variable:
str = serialPort1.ReadExisting();
After that, in order to extract the necessary numbers, I hung a method on the button. After pressing it, the required values are displayed.
Is it possible for everything to be automatically read when the card is presented, without pressing the button?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question