Simulink and Arduino analog input always zero

3 次查看(过去 30 天)
Hi all.
I am trying to read data from a simple accelerometer using an Arduino as target hardware. I am using the "Analog input" block in simulink and get nothing but zero from the simulation. Everything is wired correctly. This is exactly what I am trying to accomplish:
https://www.youtube.com/watch?v=h1e-unxYTZU
Any help would be greatly appreciated!

回答(0 个)

类别

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