Pababravo: thank you for this information.But how does it get converted to a string of decimal digets and what device uses the decimal conversion to activate the LCD. Could I show my class that I could use that device to actvatePapabravo said:A digital meter reads a binary value from an Analog to Digital Converter. This binary value is converted to a string of decimal digits which are then written to the display. Is that sufficient for your purposes?
let a/b be the INTEGER quotient of a divided by b let a%b be the remainder of a divided by b let n be an arbitrary eight bit quantity in the range [0..255] let 197 be such a number We are looking for three decimal digits to display d2 = n / 100 and r2 = n % 100 --> d2 = 197 / 100 = 1 and r2 = 197 % 100 = 97 d1 = r2 / 10 and r1 = r2 % 10 --> d1 = 97 / 10 = 9 and r1 = 97 % 10 = 7 d0 = r1 / 1 --> d0 = 7 / 1 = 7
|Thread starter||Similar threads||Forum||Replies||Date|
|S||12DCV Relay module not working||General Electronics Chat||8|
|Range hood control not working||General Electronics Chat||5|
|charging 6s Battery pack with laptop type c charger using usb trigger(20v) and buck booster 24V - not working||Power Electronics||8|
|Car LED’s not working||General Electronics Chat||2|
|Fan sensor working principle||Analog & Mixed-Signal Design||4|