Hey ppl,
I'm doing a project which needs serial communication. I'm sending and receiving data from a PIC through the serial port. I'm using Windows XP and dev cpp.
I'm succesfully sending data by my program to the PIC. I'm using inpout32.dll file to access serial port because windows dosen't give direct access to those ports.
The problem occurs when reading the data I get from the PIC. I need to read 30 characters sent by the PIC, but I couldn't do it by my program. But I get all that data to hyperterminal.
So is there any syntax or header file in c to read data from serial port????
vathsala1 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Banfa 597 Posting Pro Featured Poster
vathsala1 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
jephthah 1,888 Posting Maven
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.