A slide switch is a switch which can be set in one of two positions.
By placing a slide switch in an appropriate circuit and connecting to a PICAXE input pin the PICAXE can determine the position of the slide switch.
The slide switch create module provides an input signal to the PICAXE on the motherboard. The input signal will read high (1) when the slide switch is activated and read low (0) when it is not.
Bill of Materials
|Miniature SPDT PCB mounting slide switch ||SEN021 ||1 ||Buy Now |
|10k resistor (pack 100) ||RES10K ||1 ||Buy Now |
Submit Your Own Code!
You must be logged in to submit code examples. Login now.