LED is controlled via Bluetooth communication where LED is connected in the. Arduino board to the pin defined in the sketch. Before connecting bluetooth turn on the bluetooth in your smart phone.