minor change

skip if led < 0 or led > 7