1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/sgp30/README.md

18 lines
616 B
Markdown
Raw Normal View History

2021-03-23 12:10:27 +01:00
driver_sgp30
============
This is a manual test application for the SGP30 driver. It shows how the
sensor can be used for periodic polling.
Usage
=====
The test application demonstrates the use of the SGP30. By default the
`sgp30_strict` module is used, which means that periodic readings are
issued every 1s, and a warm-up period of 15s is enforced, before this
`sgp30_read_measurements` returns with `-EAGAIN`.
`sgp30_strict` can be disabled by compiling with `DISABLE_MODULE=sgp30_strict`.
With this when `sgp30_read_measurements` is called during the first 15s
constant values of 400ppm CO2eq and 0ppb TVOC.