I started example SerialSample
, and it works well, but I have a question:
How do I send something to the com port without the use of a button, i.e. directly with the code, for example at application startup or after the occurrence of an event?
Additionally: How to choose a serial on board without a button only when the application is started?
Example from microsoft: SerialSample