Skip to content

Commit

Permalink
Add doc file for AHT20 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulKa authored Jan 17, 2024
1 parent 5d320c7 commit 87b5c7d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions aht20/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// 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.
//
// # More details
//
// 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.
// The only device address is 0x38.
//
// # Datasheet
//
// http://www.aosong.com/userfiles/files/media/Data%20Sheet%20AHT20.pdf
package aht20

0 comments on commit 87b5c7d

Please sign in to comment.