Arduino Setup() function using simulink
4 ビュー (過去 30 日間)
古いコメントを表示
Hi, is there a way to create in a Simulink model for Arduino Due (embedded coder) the equivalent of the Setup() function, I mean a function that prepares everything and runs just once before the loop starts? I'm trying to read through i2c some sensors that need to be initialized and I can't find a way to create this kind of sequential workflow. Thank you
2 件のコメント
Madhu Govindarajan
2016 年 1 月 7 日
the latest version of Simulink support package for Arduino has an I2C block. For your purpose have you looked into the possibility of using S-function blocks?
回答 (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!