Added led pulse functionality