LED set and clear function are added to the Code