readbin.m.svn-base
来自「这是一个用来控制机器人ePuck的matlab GUI.通过它」· SVN-BASE 代码 · 共 17 行
SVN-BASE
17 行
function [output] = readBin(ePic)
% readBin allow you to read the buffer in binary mode.
% Datas are in raw format
%
% [output] = readBin(ePic)
%
% Results :
% output : recieved data in raw format
%
% Parameters :
% ePic : ePicKernel object
try
output = fread(ePic.param.comPort, ser_Port.BytesAvailable, 'uint8');
catch
output = 0;
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?