Simulink - Sample Time

1 回表示 (過去 30 日間)
Philip Harris
Philip Harris 2019 年 2 月 15 日
To speed up development I've used this LCD library (16x2)
The issue now is that some of my systems run at the wrong rate, the delay for my momentary switch is supposed to be 3 seconds but doesn't activate until 6. Then the sine wave that drives the servo also takes twice as long to complete.
If I remove the LCD code then everything is fine, I've rebuilt the model this morning to troubleshoot where the problem was coming from. I've also used another LCD library from the Add-On repository and had the same issue.
This is all running on an Arduino Mega 2560.

回答 (0 件)

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by