Added control of LED

Added led PWm control
shortend time to 10 ms rather than 1000 ms