User Tools

Site Tools

한국어

comfilepi:programming_the_serialport:index

Programming the Serial Port in Mono

Note

The Mono framework's SerialPort class does not support the ''DataReceived'' event, so it may be necessary poll the serial port to receive data, or use one of the following potential workarounds:

Example

The following example implements a client and a server. Server.exe runs on a Windows PC, and Client.exe runs on the ComfilePi. When the commands date or time are typed into the client, the server responds with the date and time respectively.

Download Source Code

comfilepi/programming_the_serialport/index.txt · Last modified: 2023/11/22 09:01 by COMFILE Technology