1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_ph_oem
Gunar Schorcht 6e18769dbb tests: use inline functions for GPIO comparison
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, tests must first be changed so that they use the inline comparison functions.
2020-08-31 13:11:05 +02:00
..
main.c tests: use inline functions for GPIO comparison 2020-08-31 13:11:05 +02:00
Makefile tests/driver_ph_oem: Added a test application for the pH OEM driver 2019-09-05 12:47:10 +02:00
README.md tests/driver_ph_oem: Added a test application for the pH OEM driver 2019-09-05 12:47:10 +02:00

About

This is a manual test application for the Atlas Scientific pH OEM sensor driver.

Usage

This application will verify the correct operation of the pH OEM sensor by testing all possible functionality, based on the pin configuration you use.

The enable and interrupt pin are undefined by default. If you want to use them define them for example in the makefile (an example is already there).

The calibration test is disabled by default, so it will not reset your previously done calibrations.

After initialization and successful tests, the sensor reads the pH value every 5 seconds and prints them to the STDOUT.