Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Similar Threads reading and writing-serial port.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. One more thing, my application runs on Win 98 - will it work on such system? This way it works pretty well.
You may want to take a look at this link for Windows serial port communication. It appears that you are on Windows, Windows has API calls to open and control the serial port, and using the buffered input and output functions is usually not advised when dealing with the serial port. Relying on the system to configure your serial port can cause problems, you probably should use your operating system API calls to initialize the port. What don't you like about your program? You probably should provide a complete program if you want assistance optimizing your program. To keep your balance you must keep moving - Einstein. Otherwise why would i? Life is like riding a bicycle. I've read some articles, but didn't find something controversial in my code.
Hi all! I send some data to serial port: Code.
Remember Me? Thread: Reading and writing to serial port.