send hex and decimal data to serial port

Discussion in 'Embedded Systems and Microcontrollers' started by embed_v, Sep 10, 2010.

  1. embed_v

    Thread Starter New Member

    Aug 30, 2010
    24
    0
    hiiii
    i am implimenting an serial port using UART in C ,on CORTEX M3 LM3S600,UV4


    SO I WANT TO SEND AN HEX AND DECIMAL FORMATTED DATA TO PORT
    HOW TO DO THIS???????
    GIVE ME THE IDEA FOR HEX AND DECIMAL IMPLIMENTED IN (FUNCTION) C.


    THANX
    EMBED_V
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Help us out here. What is the problem? You have a library to handle I/O, so is it a problem with converting hex to decimal, or in turning values into ASCII digits?
     
Loading...