Commands to send and receive data via USB port
Hallo
I have a USB to TTL converter (FT232RL) that allows me me to send serial commands from my PC to an Arduino microcontroller. I am currently using Hyperterminal with manual key presses to send and receive serial data for example I send "A" to the microcontroller and the microcontroller responds by sending back "B"
I want to expand this to be automated on my PC i.e. I would like to write a C program that automatically sends an "A" character and scans the USB for any data delivered to my PC from the Arduino microcontroller.
Can someone help me get started by understanding if there are a set of functions that allow me to send an "A" character and check for received character "B" via USB?
Thanks