47okey 發表于 2020-12-16 22:50 定時器0初始化應該放在while(1)外面,你這樣是不斷初始化,不能計時了。
jiahz2019 發表于 2020-12-17 08:23 試下這樣行不行 #include typedef unsigned int u16;