Struct SYN_Scale¶
Generic Weight Scale Instance Context.
#include <syn_scale.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_GPIO_Pin | dout_pin |
| bool | is_stable |
| float | last_weight_grams |
| float | scale_factor |
| SYN_GPIO_Pin | sck_pin |
| int32_t | tare_offset |
| SYN_ScaleType | type |
Public Attributes Documentation¶
variable dout_pin¶
variable is_stable¶
True if scale reading has settled
variable last_weight_grams¶
Calculated weight in grams
variable scale_factor¶
Counts per gram scale factor
variable sck_pin¶
variable tare_offset¶
Zero-point tare offset raw reading
variable type¶
The documentation for this class was generated from the following file src/syntropic/sensor/syn_scale.h