Professional Documents
Culture Documents
Chu y Matlab Proteus
Chu y Matlab Proteus
global s;
i=0;
while (i<100)
i=i+1;
adc(i)=fscanf(d,'%d');
drawnow;
axes(handles.axes1);
plot(adc,'r.-','LineWidth',5);
grid on;
axis([0 500 0 100]);
pause(0.05);
end