The program simplifies a function and give you the necessary information to minimize it. the user just need to enter when he needs the led to be turned on.