Removed SPI.
Added PWM capture for TIM2(PA5) and TIM3(PB4)
Encoder changed.
Motor started on TIM1.
main.c in debug.
added old files.