Em tính như thế này: T(tràn)= (4*(65536-3035)*8)/ 20000000= 100ms. Tràn 10 lần thì được 1s! Vậy mà sao con 16F877 chạy đúng 1s mà con 18F4620 thì chạy nhanh hơn nhiều lần lắm: khoảng 1/30s àh ! rõ ràng timer1 của 18F4620 cũng 16 bit mà ?? Vậy là sao hả các đại ca?


Comment