Simulink - Sample Time
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (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!