Error doing Arduino LCD Addon

조회 수: 4 (최근 30일)
phone
phone 2024년 11월 4일
편집: colordepth 2024년 11월 20일
I am having a trouble with Arduino LCD. I followed the same steps from (Create LCD Add-on) tutorial, but I got the error message, indicating that there is something wrong inside "LCDAddon.m": Error using arduinoioaddons.ExampleLCD.LCDAddon (line 54)
Not enough input arguments.

답변 (1개)

colordepth
colordepth 2024년 11월 20일
편집: colordepth 2024년 11월 20일
The error being encountered is due to the constructor in the "LCDAddon" class requiring exactly 7 arguments. I have attached a screenshot that reproduces the error to illustrate the problem :-
To create an "LCDAddon" object correctly, you need to pass 7 specific arguments as shown in the original tutorial. You can find the proper way to instantiate the object here - https://www.mathworks.com/help/matlab/supportpkg/add-lcd-library.html.

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

태그

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by