Programming

Linux -- KDE

This tells in short how to control the serial port in linux.
I first searched for information on linuxdoc.org and found the serial-programming-HOWTO
now I tried to make some little programs in C
the final program was serialcontrol

here are some main functions:
open the serial port with
fd = open(/dev/ttyS1, O_RDWR);
/dev/ttyS1 is the second serial port, O_RDWR means Open with ReaD WRite
then set a pin to "high" with
ioctl(fd, TIOCMBIS,TIOCM_DTR);

I made some cables to check how it's working


When that worked well I installed kdevelop and QT designer and tried some tutorials
It didn't work out so good. But one day I got a tip-at-startup screen that said there was another develop page for kde: develop.kde.org


Dos -- Windows
I haven't made a windows app yet as I don't have the info / library's to make windows GUI's. the DOS program is very short, but will work.
A good site about serial programming is beyondlogic.org. Now here are the source codes and binaries I made for windows. (To Be Defined)