Arduino and I2c
Show older comments
Hi,
Im trying to connect some of my NXT mindstom sensors to my arduino, specifically the color and Ultrasonic sensors which are I2C. When i try and set up the arduino I2C bus and use
addrs = scanI2CBus(a)
i get
address =
0×0 empty cell array
when it should show 0x48. If anyone knows why Im not able to get a connection with the bus please help.
Thank you
2 Comments
Dhanashree Mohite
on 11 Apr 2019
Can you share the code?
Mark Sherstan
on 12 Apr 2019
Edited: Mark Sherstan
on 12 Apr 2019
Can you verify that the sensors I2C is working and properly connected (e.g. - run this in Arduino IDE: https://playground.arduino.cc/Main/I2cScanner/)?
Answers (0)
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!