% Desactiva os PWMs dos uC indicados

function [error,errorstr]=killuc(H,scuid)

error=0;
errorstr='OK';

for i=1:length(scuid)
    [x,err,errstr]=applyjoint(H,scuid(i),3,[0 0 0]);
    if (err==1)
        error=1;
        errorstr=errstr;
    end
end