[chronojump/FS-TFT-Menu] Bitrate and serial prints to connect with CJ
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/FS-TFT-Menu] Bitrate and serial prints to connect with CJ
- Date: Tue, 24 May 2022 09:55:10 +0000 (UTC)
commit a1264326f154d4739e2b5520e47efb3c08e072de
Author: xpadulles <x padulles gmail com>
Date: Tue May 24 11:53:58 2022 +0200
Bitrate and serial prints to connect with CJ
arduino/ForceSensorTFT/ForceSensorTFT.ino | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/arduino/ForceSensorTFT/ForceSensorTFT.ino b/arduino/ForceSensorTFT/ForceSensorTFT.ino
index 7394b6a26..dfe57ca9f 100644
--- a/arduino/ForceSensorTFT/ForceSensorTFT.ino
+++ b/arduino/ForceSensorTFT/ForceSensorTFT.ino
@@ -317,7 +317,8 @@ void setup() {
pinMode(redButtonPin, INPUT_PULLUP);
pinMode(blueButtonPin, INPUT_PULLUP);
- Serial.begin(256000);
+// Serial.begin(256000);
+ Serial.begin(115200);
attachInterrupt(digitalPinToInterrupt(rcaPin), changingRCA, CHANGE);
@@ -1276,8 +1277,8 @@ void capture()
}
}
-// Serial.print(totalTime); Serial.print(";");
-// Serial.println(measured, 2); //scale.get_units() returns a float
+ Serial.print(totalTime); Serial.print(";");
+ Serial.println(measured, 2); //scale.get_units() returns a float
if (!PcControlled) saveSD(fileName);
plotBuffer[n] = measured;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]