Dear all,
I need your help with my problem in displaying floating numbers on the 4 digit 7 seg display. What method do you use for displaying floating numbers on such displays?The problem I cannot over come is I have a variable voltage divider and I want to measure a voltage across it by using A/D converter. The final reading I get is a floating number and I need the number to display on the display. I have tried different approaches such try to convert the number to a string then the string to convert back to the numbers but this time to store each digit separately in an array. I have some problem using standard function in MPLAB. What approach do you take to over come this problem?
I have solutions for this: floating number to be displayed> (missing part) converting floating to a string> (missing part) storing each character in integer array as digit> mapping each digit with its hex number> applying to a port (mux)
I need your help with my problem in displaying floating numbers on the 4 digit 7 seg display. What method do you use for displaying floating numbers on such displays?The problem I cannot over come is I have a variable voltage divider and I want to measure a voltage across it by using A/D converter. The final reading I get is a floating number and I need the number to display on the display. I have tried different approaches such try to convert the number to a string then the string to convert back to the numbers but this time to store each digit separately in an array. I have some problem using standard function in MPLAB. What approach do you take to over come this problem?
I have solutions for this: floating number to be displayed> (missing part) converting floating to a string> (missing part) storing each character in integer array as digit> mapping each digit with its hex number> applying to a port (mux)