Simulink - Sample Time

1 visualización (últimos 30 días)
Philip Harris
Philip Harris el 15 de Feb. de 2019
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.

Respuestas (0)

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by