Hi, Dwayne
There are no interrupts in all the programs i've written at this day ...
for these types of programs, all is driven by the incoming ( or not !!! )signals ...hope it will last !!!
I want to tell once more this piece of basic litterature has been running perfectly for years on smaller programs aboard dozens of 16F628s ... with the same names for variables ...and the same working context.
IF value between A and B ... it is simply considered good and taken for the mean value calculation ... with no spare value for pulsout generation, nor calculation reset.
Alain




Bookmarks