Hello, it is possible to handle both inputs S0-S2 as POT0-POT2 with the PIC. In the first case is to make an attenuator resistors, the second is to make a PWM output on the PIC and add an external low pass filter to the output of the PIC. If you want I can send an explanatory scheme.