How to solve the empty cell for the i2c address with BeagleBone Black?

2 views (last 30 days)
Goodmorning, I have connected the Beaglebone Black to MATLAB, according with the tutorials online. It works properly, but when I execute this piece of code, it gives an empty cell in the i2c_address variable. How can I solve the issue?
clear all
bbb = beaglebone
available_buses = bbb.AvailableI2CBuses
i2c_address = scanI2CBus(bbb,'i2c-1')

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!