2018-12-13 11:45:49 +01:00
|
|
|
# AMS CCS811 device driver test application
|
|
|
|
|
|
|
|
## About
|
2018-10-17 09:50:09 +02:00
|
|
|
|
2018-09-28 23:48:47 +02:00
|
|
|
This is a manual test application for the CCS811 driver. It shows how the
|
2018-12-13 11:45:49 +01:00
|
|
|
sensor can be used for periodic polling.
|
2018-09-28 23:48:47 +02:00
|
|
|
|
2018-12-13 11:45:49 +01:00
|
|
|
## Usage
|
2018-09-28 23:48:47 +02:00
|
|
|
|
2018-10-17 09:50:09 +02:00
|
|
|
The test application demonstrates the use of the CCS811 using
|
2018-09-28 23:48:47 +02:00
|
|
|
|
2021-12-04 13:43:03 +01:00
|
|
|
- data-ready status function `ccs811_data_ready` to wait for new data and
|
2018-12-18 12:43:24 +01:00
|
|
|
- default configuration parameters, that is, the measurement mode
|
2021-12-04 13:43:03 +01:00
|
|
|
`CCS811_MODE_1S` with one measurement per second.
|
2018-09-28 23:48:47 +02:00
|
|
|
|
2021-12-04 13:43:03 +01:00
|
|
|
Please refer `$(RIOTBASE)/tests/driver_ccs811_full` to learn how
|
2018-10-17 09:50:09 +02:00
|
|
|
to use the CCS811 with interrupts.
|