Hi, red Dog ...
The POT command works well only @ 4 MHz, with 0.1µF and 5 to 50 kohms...
further trials could show you the 0 -255 result range is a view of mind, linearity is also only acceptable within a limited range.
If you want fine results, try to use RC Time ...as Melabs recommends !!!
Alain
Bookmarks