Arduino code for STM32 microcontrollers