1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_ina220
2017-01-10 11:52:36 +01:00
..
main.c
Makefile drivers: use I2C_DEV(x) instead of deprecated I2C_x 2017-01-10 11:52:36 +01:00
README.md

About

This is a manual test application for the 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.