Raspberry pi key board
Development Board Keypad
FPGA Key CPLD Key ARM Key AVR Key

No matter how many pieces you buy the board, you only need to pay $2 shipping
Module No.: TB372

Packing list:
1 PCS 4-button modules

Description:
Can be inserted directly into Arduino uno mega2560,Ideal for linking up to your Arduino UNO Mini Nano Mega2560 Breadboard etc,or others MCU ( AVR STM32 ARM PIC AT89C51 STC MSP430 STM8 FPGA CPLD etc.)
1 4-button Common Cathode key module .
2 " GND K1 K2 K3 K4" 4 PIN OUT 2.54mm
3 Size: 12.7MM x 33MM.

Arduino uno/mega2560 Code

//******************************************************//
/*
Arduino_4key_uart
This example code is in the public domain.
*/
// Define key pin
int K1 = 13;
int K2 = 12;
int K3 = 11;
int K4 = 10;
// variables will change:
int buttonState = 0; // variable for reading the pushbutton status
// the setup routine runs once when you press reset:
void setup() {
// initialize the keys pin as an input.
pinMode(K1, INPUT);
pinMode(K2, INPUT);
pinMode(K3, INPUT);
pinMode(K4, INPUT);
//Activate key pin internal pull-up resistors
digitalWrite(K1, HIGH);
digitalWrite(K2, HIGH);
digitalWrite(K3, HIGH);
digitalWrite(K4, HIGH);
// initialize serial communications at 9600 bps:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
buttonState = digitalRead(K1);
if(!buttonState)Serial.print("k1
" );
do
{
buttonState = digitalRead(K1);
}
while(!buttonState);//Wait button release
buttonState = digitalRead(K2);
if(!buttonState)Serial.print("k2
" );
do
{
buttonState = digitalRead(K2);
}
while(!buttonState);//Wait button release
buttonState = digitalRead(K3);
if(!buttonState)Serial.print("k3
" );
do
{
buttonState = digitalRead(K3);
}
while(!buttonState);//Wait button release
buttonState = digitalRead(K4);
if(!buttonState)Serial.print("k4
" );
do
{
buttonState = digitalRead(K4);
}
while(!buttonState);//Wait button release
delay(100);
}

//******************************************************//


Introduction for Shenzhen Canton-electronics Trading Co.,Ltd :
We specialize in RF Wireless Radio Transmitting Units and Receiving Units, the product include transmitters with case, receivers with relay(s), transmittng modules and receiving modules, are widely applied in RC toy, remote sensing, telemetry, fireworks, industrial control, home&garden application.


Shipping:
Normally shipping is by Airmail from China Post Air Mail or Hong Kong Post Air Mail ,15-60 days shipping time based on different country .
Express is available, shipping time is 2-7 days all over the world, and telephone number is needed. Please contact us first for extra payment .

Benefits
The Best Prices. By working with Canton-electronics Ltd, you can take advantage of the internet business, cut off the wholesalers cost and other costs, and import your products directly from the manufacturer at incredible prices.
Prompt Delivery. Most units are in stock all the time, standard units will be completed within 1-3 days if they are sold out, it is great help for you if your project must be completed before deadline.
Prompt Service. Mails will be replied within 24 hours We work 6 days a week.

Return Policy
All mails will be replied to within 24 hours except on weekend and holidays.
Every item is manufactured under Strict Quality-Assurance Guidelines. If you are dissatisfied for any reason, please return the product to us, and we'll refund your money(not including shipping fees).
Please ensure that return items are not used.
Return items must be Posted within 7 days of receipt.
Please inform us via email before posting your return package.

Import tax :
We will dispatch the item as SAMPLE or GIFT, label the total amount on the custom declare invoice .
Import duties, taxes and charges are not included in the item price or shipping charges. These charges are the buyer s responsibility. Please check with your country s customs office to determine what these additional costs will