Skip to content

Commit

Permalink
Merge pull request #4 from akkoyun/03.02.04
Browse files Browse the repository at this point in the history
03.02.04
  • Loading branch information
akkoyun authored Feb 4, 2022
2 parents 4561e9a + 8000760 commit dd573a9
Show file tree
Hide file tree
Showing 6 changed files with 140 additions and 447 deletions.
Binary file added examples/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/HDC2010_Humidity/HDC2010_Humidity.ino
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void loop() {
unsigned long Time = millis();

// Measure
float _Measurement = Sensor.HDC2010_Humidity(10, 1);
float _Measurement = Sensor.HDC2010_Humidity(5, 1);

// Calculate Delta Time
long DT = millis() - Time;
Expand Down
2 changes: 1 addition & 1 deletion examples/SHT21_Humidity/SHT21_Humidity.ino
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void loop() {
unsigned long Time = millis();

// Measure
float _Measurement = Sensor.SHT21_Humidity(20,1);
float _Measurement = Sensor.SHT21_Humidity(5,1);

// Calculate Delta Time
long DT = millis() - Time;
Expand Down
4 changes: 2 additions & 2 deletions examples/SHT21_Temperature/SHT21_Temperature.ino
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ void loop() {
unsigned long Time = millis();

// Measure
float _Measurement = Sensor.SHT21_Temperature(20,1);
float _Measurement = Sensor.SHT21_Temperature(5,1);

// Calculate Delta Time
long DT = millis() - Time;

// Serial Print Data
Serial.print("Value : "); Serial.print(_Measurement, 3); Serial.println(" %");
Serial.print("Value : "); Serial.print(_Measurement, 3); Serial.println(" C");
Serial.print("Function Time : "); Serial.print(DT); Serial.println(" mS");
Serial.println("--------------------------");

Expand Down
Loading

0 comments on commit dd573a9

Please sign in to comment.