I use a Raspberry Pi Touch Display that I connect like shown in the following picture to my Raspberry. The black and red wires are connected to thee GND and 5v pins respectively. Now I want to physically turn off the display while the raspberry is still running.
Can I just use a normal 12V switch and connect the black wire to the ground and the red to the Acc and Power respectively to be able to turn the display on and off?