[chronojump] RaceAnalyzer firmware switching to 9600 baud rate
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] RaceAnalyzer firmware switching to 9600 baud rate
- Date: Wed, 28 Oct 2020 17:40:24 +0000 (UTC)
commit e591510339b28e211512273029362ad579d66eba
Author: Xavier Padullés <testing chronojump org>
Date: Wed Oct 28 18:39:20 2020 +0100
RaceAnalyzer firmware switching to 9600 baud rate
arduino/raceAnalyzer/raceAnalyzer.ino | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/arduino/raceAnalyzer/raceAnalyzer.ino b/arduino/raceAnalyzer/raceAnalyzer.ino
index a2638bfb..4969f931 100644
--- a/arduino/raceAnalyzer/raceAnalyzer.ino
+++ b/arduino/raceAnalyzer/raceAnalyzer.ino
@@ -29,7 +29,7 @@ bool rcaState = false;
//short sensor = 0;
//Version of the firmware
-String version = "Race_Analyzer-0.3";
+String version = "Race_Analyzer-0.4";
int pps = 10; //Pulses Per Sample. How many pulses are needed to get a sample
int ppsAddress = 0; //Where is stored the pps value in the EEPROM
@@ -295,6 +295,10 @@ void serialEvent()
start_simulation();
} else {
Serial.println("Not a valid command");
+ Serial.println("Switching to 9600 bits/s communication");
+ set_baud_rate("9600");
+ Serial.println("Communication set to 9600 bits/s");
+
}
inputString = "";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]