I have to come up with a programme in C that reads an input signal of 4 bits. But before that 4 bits is a stretch of 8 bits which verify that that is the correct 4 bits. What i need to find out is how to read the stretch of data one bit at a time. I'm not well versed in C. The frequency of the input data is 100hz. I plan to test the bits one at a time and after receiving the initial 8 bits, i will proceed to store the following 4 bits.