I have an old mouse side switch which seems to produce a constant 3.28 volts which acts as the off state. Then when I push the button the voltage drops to 0. What is the easiest way to inverse these actions? I am wanting to apply 3.28 volts in order for the button state to be perceived as on but I am not sure how that could be done.
This is needed because I am running a program that takes in a mouse button as the action so instead of clicking the button I need to be able to apply a voltage across the pins in order to simulate a click. I could use a different device instead of a mouse to do this but I am trying to complete my project without buying anything new.
"click" it unconventionally
\$\endgroup\$