1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-25 23:51:35 +00:00

Added Struct for load cells

This commit is contained in:
Matthew Robinaugh
2021-11-08 15:37:56 -07:00
parent 3eb9369371
commit 541d7f4281
5 changed files with 67 additions and 17 deletions

View File

@@ -10,6 +10,7 @@
#include <vector>
#elif defined(TEENSY)
#include <Arduino.h>
#include "HX711.h"
unsigned long last;
#endif
@@ -21,6 +22,7 @@ unsigned long last;
#include "native.h"
#elif defined(TEENSY)
#include "teensy.h"
#include "LoadCells.h"
#endif
Vehicle State;
@@ -45,7 +47,11 @@ void setup() {
burnStartTimeCalc(State);
Serial.println("Starting Height Calculated");
delay(1000);
loadCellCalibrate();
LoadCells loadCells;
init_LoadCells(loadCells);
Serial.println("Load Cells Calibrated");
delay(1000);
}