Stm32 ECG design