Hi, Malc
Your scoping confirms what I thought and read ...
The pot function charges the capacitor, and then drags little amounts of current ( in coulombs ...), verifies if the pin low thresold is reached, takes another quantity of current, verifies, and so on ...
That's why you get such garbage !!!
Now, the result is a count of the little quantities ... and that explains why you must use the indicated values and not others, even the RC value remains constant.
Alain
PS: and what about a scale value of ... 64 ???
************************************************** ***********************
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