Skip to content

Struct SYN_Scale

ClassList > 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

SYN_GPIO_Pin SYN_Scale::dout_pin;

variable is_stable

bool SYN_Scale::is_stable;

True if scale reading has settled


variable last_weight_grams

float SYN_Scale::last_weight_grams;

Calculated weight in grams


variable scale_factor

float SYN_Scale::scale_factor;

Counts per gram scale factor


variable sck_pin

SYN_GPIO_Pin SYN_Scale::sck_pin;

variable tare_offset

int32_t SYN_Scale::tare_offset;

Zero-point tare offset raw reading


variable type

SYN_ScaleType SYN_Scale::type;


The documentation for this class was generated from the following file src/syntropic/sensor/syn_scale.h