LEDSimple API#/* Add this line to your main function * to turn on the LED*/setLed(pin, ON); /* Add this line to your main function * to turn on the LED*/setLed(pin, OFF);Copyimport commingsoon Copyvar commingsoon = 1;CopyAdvance API#/* Add this line to your main function * to turn on the LED*/setLed(pin, ON); /* Add this line to your main function * to turn on the LED*/setLed(pin, OFF);Copyimport commingsoon Copyvar commingsoon = 1;CopyNote:pin - Represents the physical GPIO pin number where the LED is connected.For Example: To set LED at pin 40 on, use API,setLed(40, ON);CopyFacing errors with the component?#Report Component Errors Report Doc mistakes Suggest Improvements