Error doing Arduino LCD Addon

66 次查看(过去 30 天)
phone thet oo
phone thet oo 2024-11-4,20:21
编辑: Deep 2024-11-20,5:18
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 个)

Deep
Deep 2024-11-20,5:16
编辑:Deep 2024-11-20,5:18
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 中查找有关 Modeling 的更多信息

标签

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by