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.
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!