by wangweijie: Version 2----Add Speed Controll using GPIOC.0 and GPIOC.2