这个unsigned int 类型的变量 motor_running_times 初始值为0 ,随着时间慢慢的自加,为什么取最高的8位会和最低8位的数值一样?
int 不就16位吗?你移24位不就回来了嘛,motor_running_times定义改成unsigned long型