Serial Port Communication in C#
dev.emcelettronica.com
dev.emcelettronica.com
Beyond that, it's reasonably instructive. I'm happy to know that RS-232 isn't forgotten in the .NET world; there is lots of legacy hardware out with important things to say.
Although I was amused by this bit of hubris in the API design:
serialPort1.StopBits= StopBits.One;
I'd be curious to hear why the designer felt that the concept of a "stop bit" was so important or complicated that it deserved its own abstraction for the number one. :)http://msdn.microsoft.com/en-us/library/system.io.ports.stop...
All of which could have been easily and more robustly encapsulated by the use of a float instead of the bizzaro-world enum that they chose.
A dog is a four-legged animal that goes woof.
A cow is like a dog, but it's larger, and goes moooooo.