Would it be possible to make an inverter, with the output dependant on a digital resistor?
ThatNinthGuy, Welcome to Physics Forums!
Here is one manufacturer of Integrated Circuits that makes inverting amplifiers with digital gain control:
Programmable Gain Amplifiers
Set your gain with a simple serial or parallel interface from 1 to over 4000V/V. Linear Technology's PGAs (programmable gain amplifiers) provide excellent gain accuracy, channel-to-channel matching specs, and low 1ppm/°C drift.
For circuit ideas drawn from our vast library of datasheets, design notes and application notes, visit our new op amp circuit collection
Separate names with a comma.