Serial Port

SERIAL PORT

1. Simple Data Receiving.

The serial port can be used for simple text receiving with just a few lines of code.  This example shows how to implement a simple GPS data receiver.

2. Receiving Text with a Delegate

The serial port has some special requirements in .Net.  This snippet shows how to implement a serial input text receiving routine using a delegate to enable updating of GUI objects.

3. Binary Data

Receiving binary data at the serial port is slightly different than receving text, because you must treat it as an array of bytes.  This example shows how to do that, together with a simple way to display the data without a cross-thread call.


  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s