send hex and decimal data to serial port

Thread Starter

embed_v

Joined Aug 30, 2010
24
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
 

beenthere

Joined Apr 20, 2004
15,819
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?
 
Top