A
I need to read 2 frames of data from RS232 using C, each frame of data is 1 sec long.
In 1sec/1 frame the data is for a duration of 200ms and the remaning 800ms is just a high input. In 200msec i have to read 81 bytes.
Each byte begins with a start bit which goes from high to low, followed by 8bit of data and ends
with two high bits.
This way I have to read 81 bytes for 200ms.
The remaning 800ms is a high input to be read.
It will be of great help if I can get the whole program in C .
In 1sec/1 frame the data is for a duration of 200ms and the remaning 800ms is just a high input. In 200msec i have to read 81 bytes.
Each byte begins with a start bit which goes from high to low, followed by 8bit of data and ends
with two high bits.
This way I have to read 81 bytes for 200ms.
The remaning 800ms is a high input to be read.
It will be of great help if I can get the whole program in C .