hi everyone,
thanks to Nate Zimmer Uart example, i could achieve to send string over uart. But i have send ACD values to UART. ADC has 10 bit output. How could i transmit the ADC data? Can i send directly?
let say
----------------------------------
value=ADC10MEM;
UART_TX(unsigned int value ?); //
void UART_TX(int * value) // Define a function which accepts a character pointer to an array
{
unsigned int i=0;
while(value) // Increment through array, look for null pointer (0) at end of string
{
while ((UCA0STAT & UCBUSY)); // Wait if line TX/RX module is b