ledAnimation method implemented