Hi Guys
This is a simple circuit I discovered here on the forum, posted by IanM.
The video is aimed at rank beginners, so may appear basic to members here.
For my application I wanted to control a mouse cursor on-screen, and had no analogue pins to spare.
Cheers, Brek.