Skip to main content
sumalatha
Associate II
October 3, 2010
Question

how to count the 12 bit ADC count

  • October 3, 2010
  • 11 replies
  • 2647 views
Posted on October 03, 2010 at 11:41

how to count the 12 bit ADC count

    This topic has been closed for replies.

    11 replies

    Tesla DeLorean
    Guru
    May 17, 2011
    Posted on May 17, 2011 at 14:09

           

    WriteSerial( DBG_USART, ADC_val );

    Perhaps you should convert the number into ASCII before pushing it out to the serial port?

    {

      char buffer[32];

      sprintf(buffer,''%d'',ADC_val);

     

    WriteSerial( DBG_USART, buffer );

    }

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..