256 Bob Ammerman RAm Systems ----- Original Message ----- From: "John Nall" To: Sent: Friday, May 16, 2003 11:46 AM Subject: [PIC]:When does a timer overflow? > In looking at different tutorials/papers on timing with the PIC, using > Timer0 and the 8-bit counter being incremented every instruction cycle, I > notice that some of the documents use 255 as the multiplier, and some use > 256. > > Obviously they cannot both be right. So which is it? It seems to me that > (assuming that you let the counter start at zero) it would increment 255 > times, at which time the counter would contain oxFF, and then on the next > increment it would overflow. So therefore the correct multiplier would be > 256. But, as I say, I have seen at least one tutorial which says it would > be 255. > > Which is correct, O Wise Ones??? > > John > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu