Get the latest tech news

How to Use I2C Devices in Apache NuttX: Scanning for Devices


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...

No matter what is your microcontroller or your board, it will return an i2c master instance that is used as a generic "glue" to interface with any I2C device supported by NuttX. As you did in previous article, press and hold the Raspibbery Pi Pico BOOTSEL button and connect the USB cable. After the file is flash the green LED will turn on, you can also run "sudo dmesg" to confirm that USB CDC/ACM was detected correctly.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Apache

Apache

Photo of nuttx

nuttx

Photo of i2c devices

i2c devices

Related news:

News photo

Valve Makes All Steam Audio SDK Source Code Available Under Apache 2.0 License

News photo

Hackers target Apache RocketMQ servers vulnerable to RCE attacks

News photo

Kinsing malware exploits Apache ActiveMQ RCE to plant rootkits