KY-036 Metal touch sensor module
O preço original era: R$ 53,35.R$ 44,46O preço atual é: R$ 44,46.
Em estoque

Descrição
KEYES ARDUINO touch moduleMetal Touch Interface module and number 13 comes with LED build a simple circuit to produce a touch cue lights 13 comes with digital interfaces of the LED, the metal touch sensor connected digital three interfaces, when a metal touch Sensor senses a key signal, LED ights, otherwise off. Example Code int Led = 13 ;/ / define LED Interfaceint buttonpin = 3; / / define Metal Touch Sensor Interfaceint val ;/ / define numeric variables valvoid setup (){pinMode (Led, OUTPUT) ;/ / define LED as output interfacepinMode (buttonpin, INPUT) ;/ / define metal touch sensor output interface}void loop (){val = digitalRead (buttonpin) ;/ / digital interface will be assigned a value of 3 to read valif (val == HIGH) / / When the metal touch sensor detects a signal, LED flashes{digitalWrite (Led, HIGH);}else{digitalWrite (Led, LOW);}}Powered by MediaWiki Powered by Semantic MediaWiki
Informação adicional
Peso | 0,0000 kg |
---|---|
Dimensões | 0,0000 × 0,0000 cm |
Informações Gerais
Não há perguntas ainda.