[chronojump/FS-LCD-Menu] Added Capture
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/FS-LCD-Menu] Added Capture
- Date: Fri, 26 Nov 2021 10:04:10 +0000 (UTC)
commit f736aa708bcf30e0d50a9028798af1802ba6a069
Author: Xavier Padullés <x padulles gmail com>
Date: Fri Nov 26 10:46:00 2021 +0100
Added Capture
arduino/ForceSensorLCD/ForceSensorLCD.ino | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/arduino/ForceSensorLCD/ForceSensorLCD.ino b/arduino/ForceSensorLCD/ForceSensorLCD.ino
index 2ac00c4e1..722b8645d 100644
--- a/arduino/ForceSensorLCD/ForceSensorLCD.ino
+++ b/arduino/ForceSensorLCD/ForceSensorLCD.ino
@@ -330,7 +330,7 @@ void loop()
void capture(void)
{
- if (capturing)
+ while (capturing)
{
//Checking the RCA state
if (rcaState != lastRcaState) { //Event generated by the RCA
@@ -386,6 +386,7 @@ void capture(void)
// end_capture();
// }
}
+ redButtonState = digitalRead(redButtonPin);
if (redButtonState) {
end_capture();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]