Simulink - Sample Time

2 次查看(过去 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 CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by