User Tools

Site Tools



Programming the Serial Port in Mono


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:


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: 2020/05/29 09:18 by COMFILE Technology