Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gfrn/am2320-pico
AM2320 library for the Raspberry Pico
https://github.com/gfrn/am2320-pico
Last synced: about 1 month ago
JSON representation
AM2320 library for the Raspberry Pico
- Host: GitHub
- URL: https://github.com/gfrn/am2320-pico
- Owner: gfrn
- License: apache-2.0
- Created: 2024-07-23T15:48:24.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-07-23T16:02:57.000Z (6 months ago)
- Last Synced: 2024-11-08T13:24:14.328Z (2 months ago)
- Language: C
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AM2320 library (Raspberry Pico)
Library for obtaining humidity/temperature data from an AM2320 sensor.
## Usage
```c
read_sensor(&temperature, &humidity);
```Read the docstring for more information.
## Caveats
- Do not try to read data at more than 13.3 Hz
- Use a pull-up resistor, do not rely on the internal pull-ups alone
- Set your I2C baudrate to low speed (100 KHz)## Example
In `examples/main.c`