Difference between revisions of "Touch Sensor Module"
Line 30: | Line 30: | ||
== Schematics == | == Schematics == | ||
*[https://s3.amazonaws.com/linksprite/LinkerKit/Touch+Sensor.pdf Schematics] | *[https://s3.amazonaws.com/linksprite/LinkerKit/Touch+Sensor.pdf Schematics] | ||
+ | |||
+ | ==How to buy== | ||
+ | Here to buy Touch Sensor Module on [http://store.linksprite.com/touch-sensor-module-of-linker-kit-for-pcduino-arduino/ store] |
Revision as of 08:39, 24 February 2014
Sample
<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>
Schematics
How to buy
Here to buy Touch Sensor Module on store