can everyone know how to use matlab data transfer to lcd display
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Support Package for Arduino Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!