Flash Code for ADS1115 in Arduino using Matlab

13 次查看(过去 30 天)
Hey, I have been trying to use ADC converter to read the analog data through I2C connection but to make this work i need some suggestion about how to interface ads1115 module with arduino using matlab any suggestions or sample will be a great help.

回答(1 个)

Malhar Ashtaputre
Malhar Ashtaputre 2019-10-31
编辑:Malhar Ashtaputre 2019-11-5
Hello Johnathan,
Kindly go through this youtuube video to interface ADS1115 module with arduino and matlab.
If you follow exact steps from video you will get some error regarding Wire library. So to solve that issue, just copy paste following files to your project folder before building s-function.
(I have attached in zip file)
Add #include"Wire.cpp" & #include"twi.c" in library section in s-function before building.

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by