Code for STM32F3-Discovery and python script for visualization on PC