Skip to content

examples: add ina260#3411

Closed
jeanthom wants to merge 1 commit intoapache:masterfrom
lambdaconcept:ina260
Closed

examples: add ina260#3411
jeanthom wants to merge 1 commit intoapache:masterfrom
lambdaconcept:ina260

Conversation

@jeanthom
Copy link

Summary

Add example application for INA260 current/voltage/power sensor driver. Driver PR is currently being reviewed here: apache/nuttx#18430

The program periodically outputs the voltage, current and power measurements from the chip.

Impact

Add ina260 program.

Testing

Tested on top of NuttX 12.12.0, compiled on macOS for STM32F407-DISC1. Output looks like this:

nsh> ina260
U= 23898mV I=   571mA P= 13680mW
U= 23870mV I=   728mA P= 17400mW
U= 23862mV I=   782mA P= 18680mW
U= 23858mV I=   796mA P= 19030mW
U= 23857mV I=   805mA P= 19200mW
U= 23857mV I=   805mA P= 19200mW

Add example application for INA260 current/voltage/power sensor driver.

Signed-off-by: Jean THOMAS <jean@lambdaconcept.com>
Copy link
Contributor

@linguini1 linguini1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jeanthom , just putting a change request here to avoid accidentally merging before the corresponding driver is merged first :)

@jeanthom jeanthom closed this Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants