Skip to content

Commit ff3dce9

Browse files
committed
Autoformat
Code was not rending properly online, using the autoformat in Arduino for better viewing.
1 parent f947688 commit ff3dce9

File tree

5 files changed

+419
-419
lines changed

5 files changed

+419
-419
lines changed

Firmware/Retired HTU21D code/Weather_Shield_Basic/Weather_Shield_Basic.ino

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/*
2-
Weather Shield Example
3-
By: Nathan Seidle
4-
SparkFun Electronics
5-
Date: June 10th, 2016
6-
License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license).
2+
Weather Shield Example
3+
By: Nathan Seidle
4+
SparkFun Electronics
5+
Date: June 10th, 2016
6+
License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license).
77
8-
This example prints the current humidity, air pressure, temperature and light levels.
8+
This example prints the current humidity, air pressure, temperature and light levels.
99
10-
The weather shield is capable of a lot. Be sure to checkout the other more advanced examples for creating
11-
your own weather station.
10+
The weather shield is capable of a lot. Be sure to checkout the other more advanced examples for creating
11+
your own weather station.
1212
13-
*/
13+
*/
1414

1515
#include <Wire.h> //I2C needed for sensors
1616
#include "SparkFunMPL3115A2.h" //Pressure sensor - Search "SparkFun MPL3115" and install from Library Manager
@@ -74,7 +74,7 @@ void loop()
7474
Serial.println("I2C communication to sensors is not working. Check solder connections.");
7575

7676
//Try re-initializing the I2C comm and the sensors
77-
myPressure.begin();
77+
myPressure.begin();
7878
myPressure.setModeBarometer();
7979
myPressure.setOversampleRate(7);
8080
myPressure.enableEventFlags();

0 commit comments

Comments
 (0)