Duemilanove and potentiometers

This will show you how to linearise it with some resistors.