diff --git a/tests/driver_ccs811/README.md b/tests/driver_ccs811/README.md index f0dacac690..84721b6f75 100644 --- a/tests/driver_ccs811/README.md +++ b/tests/driver_ccs811/README.md @@ -9,10 +9,9 @@ sensor can be used for periodic polling. The test application demonstrates the use of the CCS811 using - - data-ready status function ```ccs811_data_ready``` to wait for new data and - - - default configuration parameters, that is, the measurement mode - ```CCS811_MODE_1S``` with one measurement per second. +- data-ready status function ```ccs811_data_ready``` to wait for new data and +- default configuration parameters, that is, the measurement mode + ```CCS811_MODE_1S``` with one measurement per second. Please refer ```$(RIOTBASE)/tests/driver_ccs811_full``` to learn how to use the CCS811 with interrupts. diff --git a/tests/driver_ccs811_full/README.md b/tests/driver_ccs811_full/README.md index 997e07841f..c6b437ef0d 100644 --- a/tests/driver_ccs811_full/README.md +++ b/tests/driver_ccs811_full/README.md @@ -12,18 +12,16 @@ sensor can be used with interrupts. The test application demonstrates the use of the CCS811 and pseudomodule ```ccs811_full``` using - - data-ready interrupt ```CCS811_INT_DATA_READY``` and - - - default configuration parameters, that is, the measurement mode - ```CCS811_MODE_1S``` with one measurement per second. +- data-ready interrupt ```CCS811_INT_DATA_READY``` and +- default configuration parameters, that is, the measurement mode + ```CCS811_MODE_1S``` with one measurement per second. The default configuration parameter for the interrupt pin has to be overridden according to the hardware configuration by defining ```CCS811_PARAM_INT_PIN``` before ```ccs811_params.h``` is included, e.g., -``` -#define CCS811_PARAM_INT_PIN (GPIO_PIN(0, 7)) -``` -or via the CFLAGS variable in the make command. -``` -CFLAGS="-DCCS811_PARAM_INT_PIN=\(GPIO_PIN\(0,7\)\)" make -C tests/driver_ccs811 BOARD=... -``` + + #define CCS811_PARAM_INT_PIN (GPIO_PIN(0, 7)) + +or via the `CFLAGS` variable in the make command. + + CFLAGS="-DCCS811_PARAM_INT_PIN=\(GPIO_PIN\(0,7\)\)" make -C tests/driver_ccs811 BOARD=...