1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/sgp30
Hugues Larrive 3c465836f2 examples and tests: add atmega8 to relevent Makefile.ci
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
2023-07-11 21:22:02 +02:00
..
app.config.test tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
main.c tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02: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.