....I see that I can set pullup on the OPTION_REG but tried that with no reads
Internal pullups apply only to portB.
...Does it make a difference in the above if I'm using Timer0 interrupts or not
Yes it does. Since Timer0 will count up to 255 then start from zero again, The interrupt (will happen with an overflow) will tell you that you have to add 256 to the count following the overflow to obtain the total count.
...Suppose I have a high flow rate of say 10 gals/minute on this flow meter, ~55 pulses/sec. Does Timer0 keeps tack of incoming pulses while the processor is running about with other tasks in the program, say reading a digital temp sensor in the main program loop.
Yes it does.
Timer1 is a 16 bits counter and can count up to 65536 before overflow, it will give you planty of time for your count.
Al.
All progress began with an idea
Bookmarks