Skip to content

Commit 561ccef

Browse files
author
Mary West
committed
Updated firmware (Tare-fix)
1 parent 41d928f commit 561ccef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

firmware/OpenScale/OpenScale/OpenScale.ino

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
GND -> GND
4848
*/
4949

50-
#include <HX711.h> //Original Repository Created by Bodge https://github.com/bogde/HX711
50+
#include "HX711.h" //Original Repository Created by Bodge https://github.com/bogde/HX711
5151
#include "openscale.h" //Contains EPPROM locations for settings
5252
#include <Wire.h> //Needed to talk to on board TMP102 temp sensor
5353
#include <EEPROM.h> //Needed to record user settings
@@ -121,9 +121,9 @@ void setup()
121121
checkEmergencyReset(); //Look to see if the RX pin is being pulled low
122122

123123
//For the beehive in a pinch, zero to a number we calculated
124-
setting_tare_point = (long)8647409;
125-
scale.set_scale(setting_calibration_factor); //Calibrate scale from EEPROM value
126-
scale.set_offset(setting_tare_point); //Zero out the scale using a previously known zero point
124+
//setting_tare_point = (long)8647409;
125+
//scale.set_scale(setting_calibration_factor); //Calibrate scale from EEPROM value
126+
//scale.set_offset(setting_tare_point); //Zero out the scale using a previously known zero point
127127

128128
//Calculate the minimum time between reports
129129
int minTime = calcMinimumReadTime();

0 commit comments

Comments
 (0)