I think this is quite simple, but I am stuck and needed some assistance.
Currently I am using the HX711 library for a strain gauge.
My problem is that Serial.println(scale.get_units(), 4); grabs the value with 4 decimal places. This works great.
But I need to store the scale.get_units value as a floating point digit. How would I store this value efficiently?
I tried Serial.available() and using the command value = scale.get_units(); but this only stores 2 decimal places.
Hopefully there is a way to grab what the serial buffer has in it or simply store the scale object value in a variable.
I can post a longer segment of code, but all the examples in the HX711 library never store the value to a variable.