Changed the led to functions to allow the mapping to other pins