Difference between revisions of "Double Buttons Module"

From LinkSprite Playgound
Jump to: navigation, search
(Created page with "==Introduction== Linker Double Buttons has two push button switches. File:Double Buttons == Schematics == *[] ==Application Ideas== '''test''' <syntaxhighlight lang=...")
 
(Dimension)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
  
Linker Double Buttons has two push button switches.
+
Linker Double Buttons Module has two push button switches.
  
[[File:Double Buttons]]
+
[[File:Double Buttons.jpg]]
 +
 
 +
== Features ==
 +
 
 +
Dimensions: 24.8×20.9×10.6mm
 +
 
 +
Net weight: 2.6g
 +
 
 +
== Dimension ==
 +
 
 +
[[File:double buttons dimension.jpg]]
  
 
== Schematics ==
 
== Schematics ==
  
*[]
+
*[https://s3.amazonaws.com/linksprite/LinkerKit/double+button+SCH.pdf Schematics]
  
 
==Application Ideas==
 
==Application Ideas==
Line 42: Line 52:
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[File:Double Buttons link.jpg]]
 +
 +
==Resources==
 +
*[http://learn.linksprite.com/arduino/shields/use-linker-1x2-button-matrix-module-on-arduino/ Tutorial]

Latest revision as of 07:20, 13 June 2014

Introduction

Linker Double Buttons Module has two push button switches.

Double Buttons.jpg

Features

Dimensions: 24.8×20.9×10.6mm

Net weight: 2.6g

Dimension

Double buttons dimension.jpg

Schematics

Application Ideas

test <syntaxhighlight lang="c"> /************************************************************************* > File Name: Linker_buttonv2.c > Author: Darren > Created Time: Fri Jan 1 00:05:19 2010

************************************************************************/
  1. include "Arduino.h"

const int s1_pin = 3; const int s2_pin = 2;

void setup(){ pinMode (s1_pin, INPUT); pinMode (s2_pin, INPUT);

       Serial.begin (9600);

}

void loop (){ if(digitalRead (s1_pin)){ Serial.println ("buttom_1 have been hold down!"); } delay (50); if(digitalRead (s2_pin)){ Serial.println ("buttom_2 have been hold down!"); } delay (50);

} </syntaxhighlight>

Double Buttons link.jpg

Resources