7 Replies Latest reply on Jan 22, 2013 3:03 PM by user_1377889

    using the usart component

    keith.miller

      it says in the usart_getbyte(); thing..

         

      that msb is status, and lsb is the actual byte.

         

       

         

      how can I seperate that? 

         

       

         

      Basicly I have,

         

       

         

      uint16 rxdata

         

      rxdata = rx_GetByte();

         

       

         

      the device outputs 8 pairs of bytes,

         

      0000 01ff 01ff 01ff 01ff 01ff 01ff 01ff

         

      I need to find the 0000's as thats a framing marker to tell me the start of the output, then each pair after is one channel of data