Hi, Clinton
@ first your counting method is wrong ... you should count transitions ( L> H i.e.) of your output sensor.
@ second ... what's the reason of the " For w = 0 to 65 ..." loop ???
@ third ... ----------------d°----- " W1 = W1 + W/65 " ???
once that tied ... display should slow down a bit ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks