July 2010 Blog Posts (1)

Converting 2-Digit Hex to Decimal ASCII Code for Display

Some times it is desired to convert a 2-bit hex code into decimal ASCII code.


For example, MCU processes hex number. If the user wishes to display the value code of a counter in a MCU, a conversion to decimal ASCII code will be required. Other wise, when the counter goes up to "11", the actual value in the MCU would be 0x0A, and the corresponding ASCII characters that will be displayed are "0 :"


The following code converts a hex value to decimal…
Continue

Added by PML on July 21, 2010 at 6:00pm — No Comments

Monthly Archives

2024

2023

2018

2016

2015

2014

2013

2012

2011

2010

2009

1999

1991

1990

1989

1988

1987

1986

1985

1984

1983

1982

1981

1980

1979

1978

1977

1976

1975

1974

1973

1972

1971

1970

1969

1968

1967

1966

1965

© 2024   Created by PML.   Powered by

Badges  |  Report an Issue  |  Terms of Service