1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_pulse_counter
Benjamin Valentin 41745859bb tests: replace SLEEP define
The SLEEP define collides with an Arduino header file.
Rename the define to resolve the conflict.
2019-10-10 10:47:38 +02:00
..
main.c tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
Makefile tests/driver_pulse_counter: test application for pulse counter driver 2018-01-22 12:34:47 -08:00
README.md tests/driver_pulse_counter: test application for pulse counter driver 2018-01-22 12:34:47 -08:00

About

This is a manual test application for the PULSE_COUNTER driver.

Usage

This test application will initialize the PULSE_COUNTER sensor with the configuration as specified in the default pulse_counter_params.h file.

If you want to use this test application with different parameters, you can simply override the default PULSE_COUNTER_PARAMS.

After initialization, the sensor reads the pulse counter values every second and prints them to STDOUT.