Touch Sensor Module
Revision as of 06:34, 21 April 2014 by Qian.zhang (talk | contribs)
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