Starting with hardware, the Arduino Mega is based on the Atmega2560 microcontroller. In the iteration that is found on the Mega board, the microcontroller comes in a standard TQFP 100-pin package.
V-LED This is the VCC pin of the LED. Connect this pin to the 5V pin of the Arduino with a 150Ω Current Limiting Resistor. LED-GND This is the Ground Pin of the LED. Connect this pin to the Ground pin ...