Hello
I want to wirte code that will be able to send data to a serial port(RS232) but I never did such thing before. Can anyone give me some pointers on how this can be done. How to send a simple data like "hello" through the serial port.
Hello
I want to wirte code that will be able to send data to a serial port(RS232) but I never did such thing before. Can anyone give me some pointers on how this can be done. How to send a simple data like "hello" through the serial port.
I've got an interesting game to play.
It's called guess the OS and compiler.
Nah, I'm bored of that game, you'll just have to tell us.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
My operating system is windows XP and the compiler i'am using is turbo C. I would really appriciate any hepl anyone can give me because I have no idea how this is done. It would be nice if someone can point out the structure of the program.
Is there a real reason as to why you're using a 16-bit fossil compiler on a 32-bit OS?
Vista is nearly here - are you still gonna try and use that compiler?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
What Salem is trying to tell you is that you need to download and install Code::Blocks, Dev-C++, or some other IDE that has the compiler with it. . . those that I mentioned include GCC.
As far as writing to the serial port, Google is your friend. Try this search string:
"C programming" Windows XP "serial port"
Experts Exchange was the first thing I got. There was a complete example in that listing.