nobodyguy / HX711_zephyr_driver

Out of tree HX711 weight sensor driver for Zephyr RTOS
Apache License 2.0
23 stars 15 forks source link

Add sub-gram decimal point #10

Closed adisbladis closed 2 weeks ago

adisbladis commented 9 months ago

In the sensor_value val1 represents the integer part of the value, with val2 representing the fractional part.

Previously val2 was unset, leaving us without decimal points and no sub-gram precision.