Difference between revisions of "Button Module"

From LinkSprite Playgound
Jump to: navigation, search
(Features)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
[[File:Linker button.jpg]]
 
[[File:Linker button.jpg]]
 +
 +
== Features ==
 +
 +
Dimensions: 26.0×25.0×10.9mm
 +
 +
Net weight: 3.4g
 +
 +
== Dimension ==
 +
 +
[[File:button dimension.jpg]]
  
 
== Schematics ==
 
== Schematics ==
Line 31: Line 41:
  
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[File:Button link.jpg]]
  
 
==How to buy==
 
==How to buy==
 
Here to buy Button Module on [http://store.linksprite.com/button-module-of-linker-kit-for-pcduino-arduino/ store]
 
Here to buy Button Module on [http://store.linksprite.com/button-module-of-linker-kit-for-pcduino-arduino/ store]

Latest revision as of 01:29, 13 June 2014

Introduction

This button module hosts momentary push button switch - 12mm Square. It can serve as input for Arduino experiment.

Linker button.jpg

Features

Dimensions: 26.0×25.0×10.9mm

Net weight: 3.4g

Dimension

Button dimension.jpg

Schematics

Application Ideas

<syntaxhighlight lang="c">

const int ButtonPin=9; void setup() {

 pinMode(ButtonPin, INPUT);
 Serial.begin(9600);        // init serial to 9600b/s

}

void loop() {

 int sensorValue = digitalRead(ButtonPin);
 if(sensorValue==1)
 {
   Serial.println("High");    
 }
 else
 {
   Serial.println("Low");     
   
 }
}

</syntaxhighlight>

Button link.jpg

How to buy

Here to buy Button Module on store