mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
9abf3247c8
This also adds these applications to the CI tests. The following drivers have been modelled: gp2y10xx grove_ledbar hd44780 hdc1000 hih6130 hmc5883l hts221 ili9341 ina2xx ina3221 io1_xplained isl29020 isl29125 itg320x jc42 my9221 |
||
---|---|---|
.. | ||
app.config.test | ||
main.c | ||
Makefile | ||
README.md |
About
This is a manual test application for the INA219/INA220 current and power monitor driver.
Usage
This test application will initialize the sensor with the default parameters in @ref ina2xx_params.h
After initialization, the application will print a table of the devices measurement data. If the I2C interface is fast enough, one row corresponds to one measurement of the device. (The sensor indicates when a new measurement is available via flags, this flags are read until the measurement is done. The duration of one measurement depends on the sensor settings and is between 84µs and 68.1ms. Please note that blocking stdio might very well be the bottleneck causing the test to miss measurements.)