printf ("%d", (uint32_t) LPC_TIM1->TC); . . In this code, the value printed is a negative number if the counter has gone over its first half.
確定! 回上一頁