Implementation on STM32F0 Discovery board