'SPDT Switches with a Raspberry Pi Pico
Basically I'm just trying to figure out how an spdt switch would work with a raspberry pi pico. When I search for information on how to interface a switch with a pico, all I get is info on button switches.
Does the spdt switch act like a closed circuit, constantly providing power to the pin I connect it to?
Assuming the answer to the question above is "yes", how would I go about telling micropython to do different things based on which pin is receiving power?
Sorry for the simple questions, I have no experience in the domain of microcontrollers and can't find this info anywhere.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
