Hi there i have a big problem i am tring to send asski code out via the serial port. what my code does is look through a saved file and picks out text information then sends it to the serial port. My problem is a wierd one!! it works ok after i open up hyperterminal and write to the lcd but it will not work if i just run the code sraight from visual C++ it outputs a lot of strange charectures im stuck any help will be great my code is attached. I am running windows xp and my compiller is visual C++ cheers

you probably need to set the baud rate, stop bits, data bits, and parity. See MSDN about how to configure the port.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.