Changed to reflect F4 cpu frequency.
Leds length set to reflect my usecase.