mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
f424421f79
The INA219 has the exact same interface as the INA220 (including values and semantics of the configuration register). Thus, this driver can be used for both. The ina220 has been renamed to ina2xx to reflect this and pseudo modules for the ina220 and ina219 have been added. |
||
---|---|---|
.. | ||
main.c | ||
Makefile | ||
README.md |
About
This is a manual test application for the INA210/INA220 current and power monitor driver.
Usage
This test application will initialize the sensor with the following parameters:
- ADC resolution: 12 bit
- Sampling time: 532 us
- Calibration register: 4096
After initialization, the sensor reads the measurement values every 100ms and prints them to the STDOUT.