can everyone know how to use matlab data transfer to lcd display
1 次查看(过去 30 天)
显示 更早的评论
function Connect(~,~,~) try arduino = serial('COM4','BaudRate',115200); fopen(arduino);
catch e
obj = instrfind;
fclose(obj);
delete(obj);
arduino = serial('COM4','BaudRate',115200);
fopen(arduino);
end
set(b1,'Visible','off');
set([b2 b3 b4],'Visible','on');
end
function SendData(~,~,~)
fprintf(arduino,get(ed,'String'));
dataReceive = fscanf(arduino);
this is the code i found from file exchange but i want create the own gui system
unlucky ,i dont know how to write the code
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!