I have a Raspberry Pi camera with switchable IR filter, I want to
control this filter with the GPIOs of the Raspberry Pi. I used an
oscilloscope (see my images) to measure the switching signal (by default
the filter is switched by the led of camera). To make the filter switch
in one direction I need to apply 3,3V for about 150ms (no problem so
far) but to switch it back (to make the filter go away) I need to apply
the 3,3V with reversed polarity.
What (easy and cheap) circuit can I use to give a signal in both
(So one GPIO in one direction and another for the other direction.