UART-based communication (computer COM ports) are formatted as 1 bit of start, 5-8 bits of data, an optional parity bit, and 1-2 bits of stop. If you wish to transmit 12 bits of data, you'll need to send it as 2 frames (6 bits each) and then reassemble (extract the data). However you'll need to verify that the micro is formatting the data correctly (with start and stop bits).
- Re: Problem in receiving serial data! Jean-Pierre Drolet
- Chris Rake
