Hi All,, I have a device that clocks out 8-bit data serially on clock and data lines. A data bit is first put on the data pin and then a rising edge appears on the clock pin. Now i want to capture this clocked data into a controller and send it out through its serial port. Can anyone suggest how to go about writing a program for this spoofing ?? Any help would be great. Thankzz && Bye -Rocknmoon
Thanks a lot for the code. Now let us say bit_array = 0x1a; How do i convert this binary value into ASCII so that when i SBUF the converted value and capture it on Hyperterminal window , it appears '1a' (without quotes) ??