Clear Filters
Clear Filters

can everyone know how to use matlab data transfer to lcd display

2 views (last 30 days)
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

Answers (0)

Categories

Find more on Instrument Control Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!