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

1 visualización (últimos 30 días)
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

Respuestas (0)

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by