SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By ronie1988
#201398
I have a basic question,
If I need to print floating numbers on the 7 segment 4 digit s7s display like from 0.001 to 999.9 then how can we display using arduino. I didnt find much help in example codes. Please guide. Bought the module for first time. I am using Vcc, GND and TX pin connection.
By jremington
#201403
Alternatively, you could use the function dtostrf() to convert the number to ASCII characters, but that is not simple as the number of digits after the decimal point have to be carefully chosen.
By ronie1988
#201454
jremington wrote: Fri Dec 14, 2018 7:40 pm Alternatively, you could use the function dtostrf() to convert the number to ASCII characters, but that is not simple as the number of digits after the decimal point have to be carefully chosen.
Can you pls give me a function/library in which I pass the 4 digit float value (from 0.001 to 999.9) and get it directly displayed. It may shift decimal value as per the float value passed.