A switch is a mechanical mechanism which allows two contacts to be connected together when activated to allow current to flow.
By placing a switch in an appropriate circuit and connecting to a PICAXE input pin the PICAXE can determine if the switch is pressed or not.
The push switch create module provides an input signal to the PICAXE on the motherboard. The input signal will read high (1) when the push switch is pressed and read low (0) when it is not.
Bill of Materials
|Miniature 6mm Tactile Switch ||SEN030 ||1 ||Buy Now |
|Miniature 12mm Tactile Switch ||SEN031 ||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.