s0me sample codes for stm32f10x