I'm i wrong but by using this code that imply you must use an 14MHZ crystal?
Perhaps it has to! Your sampling time in mode 0 is set to 1.4 Sec with a 10MHZ crystal setting. So if we want to count for 1 second we have a 1.4 ratio. I assume it's for accuracy?




Bookmarks