This example was tested on STM32F4-Discovery and does the following things:
Configure the GPIOs for driving the LEDs (PD12, PD13, PD14 and PD15).
This examples was tested using:
STM32F4 Library Ver. 1.0.1
KEIL Ver. 4.23
For get this example click here and download the: STM32F4-Discovery_LED_Keil