PDA

View Full Version : Send and Rec to a serial port


sekoon
12-19-2003, 03:30 PM
I am new to this programming stuff so please bare with me. I need to write a c# code that will allow me to send a single character string out one pin and receive it back on another. This will be used to tell me if a switch has changed from the opened to closed position. Any help would be appreciated. I am moving to the c#.net enviorment but that will be 4 weeks down the line here.

Thanks

Steve

quatu
01-22-2004, 02:39 PM
You can get started using serial ports from C# here:
http://www.programmersheaven.com/zone30/cat848/31098.htm

nevarmore
08-05-2004, 07:44 PM
Originally posted by quatu
You can get started using serial ports from C# here:
http://www.programmersheaven.com/zone30/cat848/31098.htm

I'm a bit fuzzy on how to actually use this project with my project. I'm using the Borland C# environment and I've added this project to mine. How do I launch the Confirm and Settings dialogs? How do I use classes from it?