2021-12-29 12:35:46 +01:00
|
|
|
|
2023-11-22 17:05:57 +01:00
|
|
|
[![Arduino CI](https://github.com/RobTillaart/tinySHT2x/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
2021-12-29 12:35:46 +01:00
|
|
|
[![Arduino-lint](https://github.com/RobTillaart/tinySHT2x/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/tinySHT2x/actions/workflows/arduino-lint.yml)
|
|
|
|
[![JSON check](https://github.com/RobTillaart/tinySHT2x/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/tinySHT2x/actions/workflows/jsoncheck.yml)
|
2023-11-22 17:05:57 +01:00
|
|
|
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/tinySHT2x.svg)](https://github.com/RobTillaart/tinySHT2x/issues)
|
|
|
|
|
2021-12-29 12:35:46 +01:00
|
|
|
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/tinySHT2x/blob/master/LICENSE)
|
|
|
|
[![GitHub release](https://img.shields.io/github/release/RobTillaart/tinySHT2x.svg?maxAge=3600)](https://github.com/RobTillaart/tinySHT2x/releases)
|
2023-11-22 17:05:57 +01:00
|
|
|
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/tinySHT2x.svg)](https://registry.platformio.org/libraries/robtillaart/tinySHT2x)
|
2021-12-29 12:35:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
# tinySHT2x
|
|
|
|
|
|
|
|
Arduino library specific for AVR tiny processors.
|
|
|
|
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
2023-11-22 17:05:57 +01:00
|
|
|
**Experimental**
|
|
|
|
|
2021-12-29 12:35:46 +01:00
|
|
|
Not portable, AVR only
|
|
|
|
|
2023-11-22 17:05:57 +01:00
|
|
|
#### Related
|
|
|
|
|
2021-12-29 12:35:46 +01:00
|
|
|
Based upon https://github.com/RobTillaart/SHT2x
|
|
|
|
|
|
|
|
|
|
|
|
## Interface
|
|
|
|
|
2023-11-22 17:05:57 +01:00
|
|
|
```cpp
|
|
|
|
#include "tinySHT2x.h"
|
|
|
|
```
|
|
|
|
|
2021-12-29 12:35:46 +01:00
|
|
|
- see https://github.com/RobTillaart/SHT2x
|
|
|
|
|
|
|
|
|
|
|
|
## Future
|
|
|
|
|
2023-11-22 17:05:57 +01:00
|
|
|
#### Must
|
|
|
|
|
2021-12-29 12:35:46 +01:00
|
|
|
- test test test test (Viktor)
|
|
|
|
- improve documentation
|
2022-11-26 14:30:01 +01:00
|
|
|
|
2023-11-22 17:05:57 +01:00
|
|
|
#### Should
|
|
|
|
|
|
|
|
#### Could
|
2022-11-26 14:30:01 +01:00
|
|
|
|
2021-12-29 12:35:46 +01:00
|
|
|
- Can a tiny have another Wire than Wire?
|
2022-11-26 14:30:01 +01:00
|
|
|
- Check the status bit (temperature / humidity flag)
|
|
|
|
- datasheet page 8, LSB bit 1 - bit 0 not used)
|
|
|
|
- needed?
|
2023-11-22 17:05:57 +01:00
|
|
|
- Move Wire parameter to constructor?
|
|
|
|
|
|
|
|
|
|
|
|
#### Wont
|
|
|
|
|
|
|
|
|
|
|
|
## Support
|
2021-12-29 12:35:46 +01:00
|
|
|
|
2023-11-22 17:05:57 +01:00
|
|
|
If you appreciate my libraries, you can support the development and maintenance.
|
|
|
|
Improve the quality of the libraries by providing issues and Pull Requests, or
|
|
|
|
donate through PayPal or GitHub sponsors.
|
2021-12-29 12:35:46 +01:00
|
|
|
|
2023-11-22 17:05:57 +01:00
|
|
|
Thank you,
|