Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/26/03 12:59
Read: times


 
#37307 - RE: \\
I've wrote a decimal value to ASCII converter allowing to display a value with non significant zeros and dot.

the syntax is :
/*-------------------------------------------------------------------------------
Convert a digital value into an ASCII string
	UART_DisplayValue (U32 u32Value, U8 u8NumberOfIntegerDigits, U8 u8NumberOfDecimalDigits)
		u32Value = 32 bits Value to display
		u8NumberOfIntegerDigits = Number of interger digits.
					  If this number is higher than the number of integer
					  digits, it will display the non significant '0'
		u8NumberOfDecimalDigits = Number of decimal digits			
-------------------------------------------------------------------------------*/

The code is avaible on my website in the ressources pages.

Stephane
http://perso.wanadoo.fr/rs-rey/el...ressources



List of 14 messages in thread
TopicAuthorDate
"C" : putting characters into strings            01/01/70 00:00      
RE: "C" : putting characters into string            01/01/70 00:00      
RE: "C" : putting characters into string            01/01/70 00:00      
RE: "C" : putting characters into string            01/01/70 00:00      
printf - putting characters into strings            01/01/70 00:00      
RE: \\            01/01/70 00:00      
RE: "C" : putting characters into string            01/01/70 00:00      
RE: "C" : putting characters into string            01/01/70 00:00      
RE: "C" : putting characters into string            01/01/70 00:00      
RE: "C" : putting characters into string            01/01/70 00:00      
RE: tautology            01/01/70 00:00      
RE: tautology.....more            01/01/70 00:00      
RE: tautology.....more            01/01/70 00:00      
RE: "C" : putting characters into string            01/01/70 00:00      

Back to Subject List