By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,805 Members | 1,270 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,805 IT Pros & Developers. It's quick & easy.

How to send hexadecimal commands to the COM port in Windows using C++?

P: 1
I have to connect and send hexadecimal commands on the COM port in the C++ code to the UART converter but I'm stuck with the code.

I believe I have to open the port, write and close. That's what I've managed to determine.

I've already scouted through the internet in and out but every code I managed to find didn't work.

Could anyone help me? I'm really stuck
Jul 5 '18 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.