I am trying to start programming...
I know enough of C but C++... it is not my best skill.
I have to use the RS232 interface and I dont know how I can do it with Dev-C++.
I`ll realy appreciate any help from anybody.
THANKs in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recently wrote an app that controls a bunch of serial devices (some plain text, some modbus) and most of the serial code came from that webpage.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-08-26
The subject has been dealt with numerous times on the forum. It has a search facility. You will notice that I invariably post a link to the same article Osito mentioned. There are other methods ( http://sourceforge.net/forum/message.php?msg_id=3624054 )
The .NET 2.0 framework has a serial communications class that makes it all much easier. However you cannot use .NET with Dev-C++. And in turn, .NET is easier in C# rather than C++.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My name is Ivan Perino.
I am trying to start programming...
I know enough of C but C++... it is not my best skill.
I have to use the RS232 interface and I dont know how I can do it with Dev-C++.
I`ll realy appreciate any help from anybody.
THANKs in advance!
nib
Is there a reason you need to do it in C++ and not C, if you're stronger in C?
I learned most of what I know about serial communications here:
http://msdn2.microsoft.com/en-us/library/ms810467.aspx
I recently wrote an app that controls a bunch of serial devices (some plain text, some modbus) and most of the serial code came from that webpage.
The subject has been dealt with numerous times on the forum. It has a search facility. You will notice that I invariably post a link to the same article Osito mentioned. There are other methods ( http://sourceforge.net/forum/message.php?msg_id=3624054 )
The .NET 2.0 framework has a serial communications class that makes it all much easier. However you cannot use .NET with Dev-C++. And in turn, .NET is easier in C# rather than C++.
Clifford