How to use I2C devices in (Apache) NuttX: Scanning for Devices - Alan C Assis
Previously in this EmbeddedRelated article,
we saw how to use Buttons Subsystem on NuttX using a RaspberryPi Pico board. Now we will change from user input device (buttons) for something more generic: I2C protocol. NuttX supports a lot of I2C devices (sensors, displays, EEPROMs, I/O Expanders, I2C multiplexers, and many more). And most important: because NuttX is a Linux-like RTOS you will find the very familiar i2ctool to search for devices in your I2C bus. So, lets to get started!
As most of o...
Read more at embeddedrelated.com