There are 3 sets of LEDs. One is the sentry LED with the appropriate team color like in the game that shows the sentry is powered. Next is the LEDs for the muzzle flash. The third set of LEDs will be on the PCB themselves.
Team Color LED
This will be placed in the front of the sentry near the muzzle. In the game, it is cosmetic to show the sentry is powered on. I bought a very high luminous intensity LED (24k-65k) in red. It's connected to the 5V from the converter and ran through a 56 ohm resistor to provide 50mA, as it has a 2.2 typical forward voltage.
Muzzle Flash LEDs
I will use 2-4 LEDs here. They are also very high luminous intensity LEDs, except in an amber color. I could of used a white LED as well, but in the game, the muzzle has an amber color to it. They are connected to selected GPIO pins on the STM32, which provide a 3.3V output. There is a 2.1 typical voltage drop, leaving 1.2V. The forwad current is 20mA, so 1.2/20 = 60 ohms. I put 61 ohms in series. The way they turn on and off is in the sentry fire routine in the code. Part of the routine is toggling the pin on and off with a certain delay to sync with the audio that plays.
PCB LEDs
This is more for debugging purposes for the PCB. I have two SMD leds on the board. One is a board power led which is red, connected to the 3.3V line with a 1k ohm resistor. The second is a board status LED which is blue. It is connected to a GPIO pin which will turn it on while the code is running. If the program hangs, then it will not be turned on and I will know its hanging.