Ian Rogers
- Joined Dec 12, 2012
- 1,136
That would not compile..Your compiler would have winged.... As I said before the external clock ( provided it's clean enough ) can be as high as 50Mhz.. The counter is independent of clock speed.... Reading Timer1 at that speed brings it's own problems...If you read the high byte the low byte is still changing... rapidly.. A read is almost impossible at high speed.. The datasheet has a recommendation, but there is always going to be a difference.
- ShiftReg &= ~0x0002 // CLEAR the kick bit
But as you are using the CCP module it should be okay...