10pcs Keypad 4 Button Key Module Switch Keyboard For UNO MEGA2560 Breadboard
Eachine1
sku: 1590013
ACCORDING TO OUR RECORDS THIS PRODUCT IS NOT AVAILABLE NOW
$11.60
Shipping from: China
Description
Description Can be inserted directly into uno mega2560 Ideal for linking up to yourUNO Mini Nano Mega2560 Breadboard etc or others MCU AVR STM32 ARM PIC AT89C51 STC MSP430 STM8 FPGA CPLD etc 4 button Common Cathode key moduleGND K1 K2 K3 K4 4 PIN OUT 2 54mmSize 12 7MM x 33MM Circuit schematics Package includes 10 x Keyboarduno mega2560 Code 4key uart This example code is in the public domain Define key pinint 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 resistorsdigitalWrite 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 n do buttonState digitalRead K1 while buttonState Wait button release buttonState digitalRead K2 if buttonState Serial print k2 n do buttonState digitalRead K2 while buttonState Wait button release buttonState digitalRead K3 if buttonState Serial print k3 n do buttonState digitalRead K3 while buttonState Wai
Price history chart & currency exchange rate
Customers also viewed

$64.61
Клеёнка столовая на нетканой основе Доляна, ширина 137 см, рулон 20 м, цвет бирюзовый, Белый;зеленый
goods.ru
$211.66
Велосипед 3-х колесный Q-play наклонная спинка, надувные шины 10 и 8 градусов, красный
goods.ru
$8.38
Папка-скоросшиватель с пружинным механизмом Attache Diagonal пластиковая А4 зеленая (0.6 м
goods.ru
$21.91
Оплетка на руль AVTOLIDER1 для Фольксваген Джетта 6 (Volkswagen Jetta 6), Коричневый, Оплетка на руль для Фольксваген Джетта 6 (Volkswagen Jetta 6)
goods.ru
$11.71
Футболка женская черная 50 р-р любава сказала народ сделал, Черный, fzh_Lyubava_skazala_narod_sdelal
goods.ru
$9.87
Браслет на ногу из бижутерного сплава р.22 WASABI JEWELL WSB0001008, стразы, WSB0001008
goods.ru
$33.71
2019 summer new women's shoes thick-soled non-slip flat shoes net red casual shoes fashion wild single shoes breathable mesh sho
aliexpress.com
$18.36
sandals 2023 classics slides flat sandals stylish slippers tigers fashion slipper men women designer shoes tiger cat casual, Black
dhgate.com
$14.98
women's safety pants summer girls' with anti-light bottom lace women's short home can wear small shorts, Black;white
dhgate.com
$188.71
Велосипед Forward, COMANCHE 20 1.0 10.5'' голубой/желтый 20'' 1 ск. RBKW01601002
holodilnik.ru
$22.60
2/6 шт. светодиодная лампа для автомобильных фар H9 H11, яркие 12 В, противотуманные фары, турбо-лампа для Lexus CT200H 2011 2012 2013 2014 2015 2016 2017
aliexpress.ru





















