From 76eba96cc2b94a67f53516d4c1a9851c4ea9d7ee Mon Sep 17 00:00:00 2001 From: SoulKa Date: Tue, 16 Jan 2024 21:16:17 +0100 Subject: [PATCH] add doc file for AHT20 --- aht20/doc.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 aht20/doc.go diff --git a/aht20/doc.go b/aht20/doc.go new file mode 100644 index 0000000..0c12a71 --- /dev/null +++ b/aht20/doc.go @@ -0,0 +1,11 @@ +// Copyright 2024 The Periph Authors. All rights reserved. +// Use of this source code is governed under the Apache License, Version 2.0 +// that can be found in the LICENSE file. + +// Package aht20 controls an AHT20 device over I²C. +// The sensor is a temperature and humidity sensor with a typical accuracy of ±2% RH and ±0.3°C. +// The aht20.Dev type implements the physic.SenseEnv interface. The physic.Env measurement results +// contain a temperature, pressure and humidity value though the pressure is not set. +// +// **Datasheet:** http://www.aosong.com/userfiles/files/media/Data%20Sheet%20AHT20.pdf +package aht20