Skip to content

Commit 57db4b7

Browse files
committed
0.3.0 SHT85
1 parent dc7fdad commit 57db4b7

File tree

7 files changed

+31
-19
lines changed

7 files changed

+31
-19
lines changed

libraries/SHT85/.arduino-ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
compile:
2-
# Choosing to run compilation tests on different Arduino platforms
2+
# Choosing to run compilation tests on 2 different Arduino platforms
33
platforms:
44
- uno
5-
- leonardo
6-
- due
7-
- zero
5+
# - due
6+
# - zero
7+
# - leonardo
8+
- m4
9+
- esp32
10+
# - esp8266
11+
# - mega2560

libraries/SHT85/.github/workflows/arduino_test_runner.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ name: Arduino CI
44
on: [push, pull_request]
55

66
jobs:
7-
arduino_ci:
7+
runTest:
88
runs-on: ubuntu-latest
99

1010
steps:
1111
- uses: actions/checkout@v2
12-
- uses: Arduino-CI/[email protected]
12+
- uses: ruby/setup-ruby@v1
13+
with:
14+
ruby-version: 2.6
15+
- run: |
16+
gem install arduino_ci
17+
arduino_ci.rb

libraries/SHT85/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[![Arduino CI](https://github.com/robtillaart/SHT85/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
3-
[![JSON check](https://github.com/RobTillaart/SHT85/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/SHT85/actions/workflows/jsoncheck.yml)
43
[![Arduino-lint](https://github.com/RobTillaart/SHT85/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/SHT85/actions/workflows/arduino-lint.yml)
4+
[![JSON check](https://github.com/RobTillaart/SHT85/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/SHT85/actions/workflows/jsoncheck.yml)
55
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/SHT85/blob/master/LICENSE)
66
[![GitHub release](https://img.shields.io/github/release/RobTillaart/SHT85.svg?maxAge=3600)](https://github.com/RobTillaart/SHT85/releases)
77

@@ -19,15 +19,16 @@ not be used for more than 10% of the time.
1919
## Description
2020

2121
```
22-
// TOPVIEW
22+
// TOPVIEW SHT85
2323
// +-------+
2424
// +-----\ | SDA 4 -----
25-
// | /-+ ----+ VCC 3 -----
26-
// | +-+ ----+ GND 2 -----
25+
// | /-+ ----+ GND 3 -----
26+
// | +-+ ----+ +5V 2 -----
2727
// +-----/ | SCL 1 -----
2828
// +-------+
2929
```
3030

31+
3132
The SHT85 sensors should work up to 1000 KHz, however during tests
3233
with an Arduino UNO it stopped between 500 - 550 KHz so to be safe I recommend
3334
not to use it above 400 KHz. Also the differences in read time becomes

libraries/SHT85/SHT85.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// FILE: SHT85.cpp
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.2.0
4+
// VERSION: 0.3.0
55
// DATE: 2021-02-10
66
// PURPOSE: Arduino library for the SHT85 temperature and humidity sensor
77
// https://nl.rs-online.com/web/p/temperature-humidity-sensor-ics/1826530
@@ -17,6 +17,8 @@
1717
// update readme
1818
// 0.2.0 2021-08-24 split off base class
1919
// create derived classes SHT85, 30, 31, 35
20+
// 0.3.0 2021-10-20 Fix #6 image in documentation,
21+
// update build-CI
2022

2123

2224
#include "SHT85.h"

libraries/SHT85/SHT85.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// FILE: SHT85.h
44
// AUTHOR: Rob Tillaart
5-
// VERSION: 0.2.0
5+
// VERSION: 0.3.0
66
// DATE: 2021-02-10
77
// PURPOSE: Arduino library for the SHT85 temperature and humidity sensor
88
// https://nl.rs-online.com/web/p/temperature-humidity-sensor-ics/1826530
@@ -15,8 +15,8 @@
1515
// TOPVIEW SHT85
1616
// +-------+
1717
// +-----\ | SDA 4 -----
18-
// | +-+ ----+ VCC 3 -----
19-
// | +-+ ----+ GND 2 -----
18+
// | +-+ ----+ GND 3 -----
19+
// | +-+ ----+ +5V 2 -----
2020
// +-----/ | SCL 1 -----
2121
// +-------+
2222

@@ -25,7 +25,7 @@
2525
#include "Wire.h"
2626

2727

28-
#define SHT_LIB_VERSION (F("0.2.0"))
28+
#define SHT_LIB_VERSION (F("0.3.0"))
2929
#define SHT85_LIB_VERSION SHT_LIB_VERSION
3030

3131

@@ -80,7 +80,7 @@ class SHT
8080
// do not use heater for long periods,
8181
// use it for max 3 minutes to heat up
8282
// and let it cool down at least 3 minutes.
83-
void setHeatTimeout(uint8_t seconds);
83+
void setHeatTimeout(uint8_t seconds);
8484
uint8_t getHeatTimeout() { return _heatTimeout; };
8585

8686
bool heatOn();
@@ -98,7 +98,7 @@ class SHT
9898
bool dataReady();
9999
bool readData(bool fast = true);
100100

101-
int getError(); // clears error flag
101+
int getError(); // clears error flag
102102

103103

104104
protected:

libraries/SHT85/library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"url": "https://github.com/RobTillaart/SHT85"
1717
},
18-
"version": "0.2.0",
18+
"version": "0.3.0",
1919
"license": "MIT",
2020
"frameworks": "arduino",
2121
"platforms": "*"

libraries/SHT85/library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SHT85
2-
version=0.2.0
2+
version=0.3.0
33
author=Rob Tillaart <[email protected]>
44
maintainer=Rob Tillaart <[email protected]>
55
sentence=Arduino library for the SHT85, SHT30, SHT31, SHT35 Senserion temperature and humidity sensor

0 commit comments

Comments
 (0)