[chronojump/michrolab: 55/57] Fixed ending capture from PC
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/michrolab: 55/57] Fixed ending capture from PC
- Date: Tue, 24 May 2022 15:20:53 +0000 (UTC)
commit e77a2d7e4e855eada5a9acb70a20c3378d289f03
Author: xpadulles <x padulles gmail com>
Date: Tue May 24 16:20:59 2022 +0200
Fixed ending capture from PC
arduino/ForceSensorTFT/ForceSensorTFT.ino | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/arduino/ForceSensorTFT/ForceSensorTFT.ino b/arduino/ForceSensorTFT/ForceSensorTFT.ino
index dfe57ca9f..25aa24b41 100644
--- a/arduino/ForceSensorTFT/ForceSensorTFT.ino
+++ b/arduino/ForceSensorTFT/ForceSensorTFT.ino
@@ -596,8 +596,9 @@ void endLoadCellCapture()
EEPROM.get(tareAddress, tareValue);
scale.set_offset(tareValue);
//Serial.println(scale.get_offset());
- showLoadCellResults();
+ showLoadCellResults();
}
+ drawMenuBackground();
showMenuEntry(currentMenuIndex);
}
@@ -1359,6 +1360,7 @@ void capture()
updateTime();
}
}
+ if (Serial.available()) serialEvent();
}
}
if (!capturingPreSteadiness) setNumber++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]