I have this switch it goes 3 ways, I am a noob and just started learning about electronics. I have a small oled Display connected to my nodemcu which is displaying information. The middle switch is off right? So I want the middle switch to turn the display off, the left switch to show specific information and the right switch to make the display show other information. How exactly do I wire it?
I would call that a single pole, double throw (SPDT) center-off toggle switch. Electrically, it looks like:
To confuse newcomers, when the handle is to the left, the center terminal is connected to the right terminal, and when the handle is to the right, the center terminal is connected to the left terminal.
With the handle in the center position, there is no connection between any terminals.
Your device has two switches inside, connected to three external terminals.
The center terminal is common to both switches, and the two ends are at the other ends of each of the switches. When the toggle is in the center, both switches are open. That means all three terminals are disconnected from each other. When the toggle is to one side, the center will be connected to one of the two outer terminals. When toggle is to the other side, the center will be connected to the other terminal.
The rest is up to you. This device has three states it can be in. You can certainly detect with of the three states. What you do with that information is up to you, and it's not clear what exactly that is anyway.
Since the paddle is in the middle, I think that it is a 3 position switch (SP3T)(single pole tripple throw).
Here is a very rough diagram of the switch
The red slider moves when you tilt the paddle to either side and shorts out two of the blue contacts.
In center position, the slider does not touch either of the side contacts.