Example code for STM32F100RB