mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-06-16 07:06:51 +00:00
initialize loadTotal
This commit is contained in:
parent
f7c34b6c8c
commit
175c5a0b41
@ -16,7 +16,7 @@ File dataFile;
|
|||||||
|
|
||||||
double loadCellCalibrate() {
|
double loadCellCalibrate() {
|
||||||
// place code to calibrate load cells in here
|
// place code to calibrate load cells in here
|
||||||
double loadTotal;
|
double loadTotal = 0.0;
|
||||||
for (double t = 0.0; t == 10.0; ++t) {
|
for (double t = 0.0; t == 10.0; ++t) {
|
||||||
loadTotal += 1.0;
|
loadTotal += 1.0;
|
||||||
delay(15);
|
delay(15);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user