Overclocked
Member
Whats the best way to display the individual digits of a two digit number? Im sure that Ive gotten the display routine down, but I have to figure out how to extract each digit from a dual digit number. I want One display to display the 10s, and the other to display the ones. Eventually this will be used in a PIC micro to display data Via 7 Segment Display or BCD.
This is what I came up with in Labview, but I think theres a simpler way to do this:
Number is the Incoming number, 10s is the 10s digit and 1s is the ones digit. It works, Except for Negative Numbers. If I need to display Negative numbers, I can only display digits -1 to -9 (two digit display, left most display will be the negative sign).
This is what I came up with in Labview, but I think theres a simpler way to do this:
Number is the Incoming number, 10s is the 10s digit and 1s is the ones digit. It works, Except for Negative Numbers. If I need to display Negative numbers, I can only display digits -1 to -9 (two digit display, left most display will be the negative sign).
Attachments
Last edited: