Francisco Hernandez

ADC conversion

Discussion created by Francisco Hernandez on Mar 8, 2006
Latest reply on Sep 4, 2008 by Van Truong
Hi, I'm sensing light with a photoresistor, the analog input is received via QB8 A/D converter in 10 bit, my program is wrote in C (CW) the question is, how can convert the 10 bit value into decimal value?, the binary value is stored in two different registers, 8 LSB in an register and two MSB in another, someone have a routine write in C to implement? Thanks.