Skip to content

Commit

Permalink
beta status finished
Browse files Browse the repository at this point in the history
  • Loading branch information
nightflyer88 committed Jan 12, 2019
1 parent b085aba commit 6119f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CG_scale.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
******************************************************************
history:
V1.0 beta first release
V1.0 12.01.19 first release
******************************************************************
Expand Down Expand Up @@ -316,7 +316,7 @@ void loop() {

// CG transverse axis
if (nLoadcells > 2) {
CG_trans = (distanceX3 / 2) - ((weightLoadCell1 * distanceX3) / (weightLoadCell1 + weightLoadCell3));
CG_trans = (distanceX3 / 2) - (((weightLoadCell1 + weightLoadCell2 / 2) * distanceX3) / weightTotal);
}
}

Expand Down

0 comments on commit 6119f76

Please sign in to comment.