Resistor that changes resistance with clock input
There are 'digipots' which are designed for a simple up-button/down-button type of interface (rather than SPI or I2C).
Unfortunately the ones which pop up in a quick search are packaged in small SMD footprints, but you could probably 'dead-bug' them if you're careful.
Digikey Search  

Example: