mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-06-16 15:17:23 +00:00
extra code
This commit is contained in:
parent
554f0fdc53
commit
069ab2a9e4
@ -14,15 +14,6 @@ void teensyAbort();
|
|||||||
const int chipSelect = BUILTIN_SDCARD;
|
const int chipSelect = BUILTIN_SDCARD;
|
||||||
File dataFile;
|
File dataFile;
|
||||||
|
|
||||||
double loadCellCalibrate() {
|
|
||||||
// place code to calibrate load cells in here
|
|
||||||
double loadTotal = 0.0;
|
|
||||||
for (double t = 0.0; t == 10.0; ++t) {
|
|
||||||
loadTotal += 1.0;
|
|
||||||
delay(15);
|
|
||||||
}
|
|
||||||
return loadTotal / 10.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void initFile() {
|
void initFile() {
|
||||||
Serial.print("Initializing SD card...");
|
Serial.print("Initializing SD card...");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user