Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4891

Raspberry Pi OS • Re: How to access I2C device from user space

$
0
0
Did you enable the ic2-sensor dtoverlay for the sht4x?

In /boot/firmware/config.txt (/boot/config.txt on OS before bookworm)

Code:

dtoverlay=i2c-sensor,sht4x
No need for the modprobe, that should be automatic and the sensor will now appear in /sys

Statistics: Posted by rpdom — Mon Sep 02, 2024 10:52 pm



Viewing all articles
Browse latest Browse all 4891

Trending Articles