vanderbiltrobotics / loadcell

0 stars 0 forks source link

Add LOW_POWER mode #4

Open AWatk opened 6 years ago

AWatk commented 6 years ago

make the power_up() and power_down() functions private.

The device is then "powered down" (actually just low power) by calling

HX711::set_mode(HX711_MODE::LOW_POWER)

and powered back on by setting the mode to something else.