GY-63_MS5611/libraries/DHTINT
2022-05-08 13:05:13 +02:00
..
.github/workflows 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00
examples 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00
test 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00
.arduino-ci.yml 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00
dhtint.cpp 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00
dhtint.h 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00
library.json 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00
library.properties 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00
LICENSE 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00
README.md 0.1.0 DHTINT 2022-05-08 13:05:13 +02:00

Arduino CI Arduino-lint JSON check License: MIT GitHub release

DHTINT

Arduino library for DHT sensors - integer only

Description

This is an experimental integer only library, based upon - https://github.com/RobTillaart/DHTNew - version 0.4.12

Goal is to reduce footprint by using integer math only. This way the lib becomes more usable for processors like the ATTINY 45 or 85.

As the library only uses integer math it will not trigger the automatic including of the floating point math libraries. This will save additional memory unless other code uses floating point math.

Compare DHTINT versus DHTNEW

Sketch: ..\example\dhtint_minimum.ino

replaced DHTINT with DHTNEW

platform library sketch size variables
UNO DHTNEW 5730 341
UNO DHTINT 3978 321
delta 1752 20
ESP32 DHTNEW 206730 13464
ESP32 DHTINT 206110 13456
delta 620 8

Gain is most substantial for the UNO platform.

Future

  • Keep in sync with DHTNEW.
  • Test more
  • Add examples.