From ab32ea0ea99c2b101d71690e31e2f9e133fb65dd Mon Sep 17 00:00:00 2001 From: Nathan Seidle Date: Wed, 30 Dec 2020 13:40:56 -0700 Subject: [PATCH] Change examples to 115200bps to match style guide --- examples/Example10_DewPoint/Example10_DewPoint.ino | 2 +- examples/Example11_BurstRead/Example11_BurstRead.ino | 2 +- examples/Example1_BasicReadings/Example1_BasicReadings.ino | 2 +- examples/Example2_I2CAddress/Example2_I2CAddress.ino | 2 +- examples/Example3_CSVOutput/Example3_CSVOutput.ino | 2 +- examples/Example4_Settings/Example4_Settings.ino | 2 +- .../Example5_ReadAllRegisters/Example5_ReadAllRegisters.ino | 2 +- examples/Example6_LowPower/Example6_LowPower.ino | 2 +- .../Example7_RelativeAltitudeChange.ino | 2 +- examples/Example8_LocalPressure/Example8_LocalPressure.ino | 2 +- examples/Example9_SoftwareI2C/Example9_SoftwareI2C.ino | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/Example10_DewPoint/Example10_DewPoint.ino b/examples/Example10_DewPoint/Example10_DewPoint.ino index 6c1b4b6..fa0781b 100644 --- a/examples/Example10_DewPoint/Example10_DewPoint.ino +++ b/examples/Example10_DewPoint/Example10_DewPoint.ino @@ -25,7 +25,7 @@ BME280 mySensor; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println("Example showing dewpoint calculation"); mySensor.setI2CAddress(0x76); //Connect to a second sensor diff --git a/examples/Example11_BurstRead/Example11_BurstRead.ino b/examples/Example11_BurstRead/Example11_BurstRead.ino index 0e0a2f7..6e94e7f 100644 --- a/examples/Example11_BurstRead/Example11_BurstRead.ino +++ b/examples/Example11_BurstRead/Example11_BurstRead.ino @@ -31,7 +31,7 @@ BME280_SensorMeasurements measurements; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println("Reading basic values from BME280 as a Burst"); Wire.begin(); diff --git a/examples/Example1_BasicReadings/Example1_BasicReadings.ino b/examples/Example1_BasicReadings/Example1_BasicReadings.ino index a4078f8..3fe99c4 100644 --- a/examples/Example1_BasicReadings/Example1_BasicReadings.ino +++ b/examples/Example1_BasicReadings/Example1_BasicReadings.ino @@ -26,7 +26,7 @@ BME280 mySensor; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println("Reading basic values from BME280"); Wire.begin(); diff --git a/examples/Example2_I2CAddress/Example2_I2CAddress.ino b/examples/Example2_I2CAddress/Example2_I2CAddress.ino index d277347..7d97120 100644 --- a/examples/Example2_I2CAddress/Example2_I2CAddress.ino +++ b/examples/Example2_I2CAddress/Example2_I2CAddress.ino @@ -27,7 +27,7 @@ BME280 mySensorB; //Uses I2C address 0x76 (jumper closed) void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println("Example showing alternate I2C addresses"); Wire.begin(); diff --git a/examples/Example3_CSVOutput/Example3_CSVOutput.ino b/examples/Example3_CSVOutput/Example3_CSVOutput.ino index 03e9d43..cb34eff 100644 --- a/examples/Example3_CSVOutput/Example3_CSVOutput.ino +++ b/examples/Example3_CSVOutput/Example3_CSVOutput.ino @@ -21,7 +21,7 @@ unsigned long sampleNumber = 0; void setup() { - Serial.begin(9600); + Serial.begin(115200); Wire.begin(); diff --git a/examples/Example4_Settings/Example4_Settings.ino b/examples/Example4_Settings/Example4_Settings.ino index b9e61f9..f51b795 100644 --- a/examples/Example4_Settings/Example4_Settings.ino +++ b/examples/Example4_Settings/Example4_Settings.ino @@ -17,7 +17,7 @@ BME280 mySensor; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println("Example showing alternate I2C addresses"); Wire.begin(); diff --git a/examples/Example5_ReadAllRegisters/Example5_ReadAllRegisters.ino b/examples/Example5_ReadAllRegisters/Example5_ReadAllRegisters.ino index f15eda4..85acc6a 100644 --- a/examples/Example5_ReadAllRegisters/Example5_ReadAllRegisters.ino +++ b/examples/Example5_ReadAllRegisters/Example5_ReadAllRegisters.ino @@ -23,7 +23,7 @@ BME280 mySensor; void setup() { - Serial.begin(9600); + Serial.begin(115200); while(!Serial); //Needed for printing correctly when using a Teensy Serial.println("Reading all registers from BME280"); diff --git a/examples/Example6_LowPower/Example6_LowPower.ino b/examples/Example6_LowPower/Example6_LowPower.ino index e2fd8a6..c42abe8 100644 --- a/examples/Example6_LowPower/Example6_LowPower.ino +++ b/examples/Example6_LowPower/Example6_LowPower.ino @@ -18,7 +18,7 @@ BME280 mySensor; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println("Example showing alternate I2C addresses"); Wire.begin(); diff --git a/examples/Example7_RelativeAltitudeChange/Example7_RelativeAltitudeChange.ino b/examples/Example7_RelativeAltitudeChange/Example7_RelativeAltitudeChange.ino index 7b3e136..586ed2d 100644 --- a/examples/Example7_RelativeAltitudeChange/Example7_RelativeAltitudeChange.ino +++ b/examples/Example7_RelativeAltitudeChange/Example7_RelativeAltitudeChange.ino @@ -41,7 +41,7 @@ float localAltitude = 0; void setup() { - Serial.begin(9600); + Serial.begin(115200); while(!Serial); //Wait for user to get terminal open Serial.println("Output a local changing altitude"); Serial.println("Press any key to zero local altitude"); diff --git a/examples/Example8_LocalPressure/Example8_LocalPressure.ino b/examples/Example8_LocalPressure/Example8_LocalPressure.ino index d1a4fcd..552be86 100644 --- a/examples/Example8_LocalPressure/Example8_LocalPressure.ino +++ b/examples/Example8_LocalPressure/Example8_LocalPressure.ino @@ -25,7 +25,7 @@ BME280 mySensor; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println("Example showing alternate I2C addresses"); Wire.begin(); diff --git a/examples/Example9_SoftwareI2C/Example9_SoftwareI2C.ino b/examples/Example9_SoftwareI2C/Example9_SoftwareI2C.ino index b5c3c6a..f47d0b1 100644 --- a/examples/Example9_SoftwareI2C/Example9_SoftwareI2C.ino +++ b/examples/Example9_SoftwareI2C/Example9_SoftwareI2C.ino @@ -31,7 +31,7 @@ BME280 mySensor; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println("Example showing alternate I2C addresses"); myWire.begin();