A SPST switch connects HB1 and HB2, to control a lamp connected to HB OUT. I am looking into modifying this circuit to make the slew rate adjustable when switching the output to VCC (around 12V). I would like to be able to control the slew rate with a controller such as Arduino or Rasperry Pi.
The slew rate seems to be affected largely by C1. I found some digitally controlled pots like this one: https://www.sparkfun.com/products/10613 , but there don't seem to be digitally controlled capacitors.
I have also been looking into adding circuitry such as this op amp design from TI to control the slew rate: http://www.ti.com/tool/TIPD140#0
I am a beginner when it comes to electronics so any suggestions/insight would be greatly apprecitated.