Difference between revisions of "Touch Sensor Module"
Qian.zhang (talk | contribs) |
Qian.zhang (talk | contribs) (→Introduction) |
||
Line 2: | Line 2: | ||
Touch Sensor enables you to replace press with touch. | Touch Sensor enables you to replace press with touch. | ||
− | [[File:Touch sensor.jpg]] | + | [[File:Touch sensor module.jpg]] |
== Schematics == | == Schematics == |
Revision as of 05:32, 11 April 2014
Introduction
Touch Sensor enables you to replace press with touch.
Schematics
Application Ideas
test <syntaxhighlight lang="c"> int TouchPin=9; int ledPin=11; void setup() { pinMode(TouchPin, INPUT); pinMode(ledPin,OUTPUT); }
void loop() { int sensorValue = digitalRead(TouchPin); if(sensorValue==1) { digitalWrite(ledPin,HIGH); } else { digitalWrite(ledPin,LOW); } } </syntaxhighlight>
How to buy
Here to buy Touch Sensor Module on store