Oferta!

KY-036 Metal touch sensor module

Original price was: R$ 53,35.Current price is: R$ 44,46.

Em estoque

wws Camila / Dúvidas sobre o produto? Precisa de ajuda? Fale comigo.
0000000012386
SKU: 10630-H7 Categoria:

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