1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/driver_ina2xx
Marian Buschsieweke f424421f79
drivers: Renamed ina220 --> ina2xx
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.
2019-11-22 19:53:51 +01:00
..
main.c drivers: Renamed ina220 --> ina2xx 2019-11-22 19:53:51 +01:00
Makefile drivers: Renamed ina220 --> ina2xx 2019-11-22 19:53:51 +01:00
README.md drivers: Renamed ina220 --> ina2xx 2019-11-22 19:53:51 +01:00

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.