%Read version & id

function [version,id]=readVersionId(H)

globalVar;

command = READ_VERSION_ID;
param1 = 0;
param2 = 0;
checksum = 256 - mod((STARTBYTE+command+param1+param2),256);

sendMessage(H,command,param1,param2,checksum);
[version,id]=readMessage(H);

%disp(['Versão: ',num2str(version)]);
%disp(['ID: ',num2str(id)]);


