Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2C communication with 4 slave devices. how to get data from specific slave device address in Linux #1

Open
rajmehta28599 opened this issue Jun 25, 2021 · 0 comments

Comments

@rajmehta28599
Copy link

Aim: Read data from 4 slave devices using i2c communication on Linux.

Your contribution very helps full for me. So Thank You for your Contribution.

Issue: I am working with Linux base Board (BeagleBone Black) and 4 VL53L0X sensors as I2C Slave Devices. all 4 sensors have the same slave Address.

so I think Ik can be changed by this line: ioctl(file_i2c, I2C_SLAVE, NEW_ADDR1);

then I want to I2C communication with a specific slave address.

So how to begin the I2C communication with a specific device address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant