%clear all
%clc

H=initCom;
%function cs=CScheck(H)

globalVar;

inicio=0;
fim=hex2dec('2B');
soma=0;
for i=inicio:fim
    soma=soma+readEeprom(H,i);
end

cs=dec2hex(256-mod(soma,256));
csreal=readEeprom(H,hex2dec('2C'));

killCom(H);