10pcs TB371 4 Key MCU Keyboard Button Board Compatible UNO MEGA2560 Pro Mini Nano Due for Raspberry Pi Teensy++ Geekcrei
Geekcreit
sku: 1661792
ACCORDING TO OUR RECORDS THIS PRODUCT IS NOT AVAILABLE NOW
$14.99
Shipping from: China
Description
Description 1 4 button Common Cathode key module When pressed output low level 2 GND K1 K2 K3 K4 4 PIN OUT2 54mm3 Working voltage DC 0 48V 4 Size 12 7 x 33mm5 It can be inserted directly into Arduiuo uno3 mega2560 due for linking up to yourArduiuo uno3 Mini Nano Mega2560 Breadboard for raspberry pi banana pietc or others MCU PLD CPU AVR STM32 ARM PIC C51 NRF24LE1 CC2530 MSP430 STM8 FPGA CPLD etc Circuit schematics Arduiuo uno3 mega2560 Code Arduiuo 4key uartThis 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 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 releasebuttonState digitalRead K2 if buttonState Serial print k2 n do buttonState digitalRead K2 while buttonState Wait button releasebuttonState digitalRead
Price history chart & currency exchange rate
Customers also viewed

$4.24
Аксессуары для освещения трансформатор светодиодный потолочный светильник Driver источник питания
aliexpress.ru
$1.04
Ожерелье с кулоном в форме мужчины 316l, стальное ожерелье, цепочка, ювелирные изделия, кулон в стиле хип-хоп, аксессуары с биркой, табличка с именем M4G3
aliexpress.ru
$4.70
Автомобильный держатель с крепким адсорбционным чехлом для iPhone 14 Pro Max 14 Plus 13 12 11 XS Max XR X SE 2020 8 7 чехол из ТПУ + ПК с кольцом-подставкой
aliexpress.ru
$10.90
Eyeshadow Sticks Glitter Eyeshadow Pencil Crayon 12pcs Waterproof Eyeshadow Stick Kit Glitter Eyeshadow Pen Long Lasting
aliexpress.com
$30.41
Household Hotel Double Sided Multifunctional Practical Portable Glass Brush Useful Hand Tool Magnetic Window Cleaner Fiber Cloth
aliexpress.com
$9.95
Slows Down Heat Dissipation Portable Foot Wash Durable And Wear-resistant 76 Massage Points Foot Tub Quick Sweating Foot Basin
aliexpress.com
$13.89
10PCS Fishing Lure Wood Shrimp Luminated Squid Fishing Bait Hook Sea Fishing Lures Artificial Lures
aliexpress.com
$20.25
14Pcs Lathe Boring Bar Set S07K/S08K/S10K/S12M-SCLCR06 Lathe Boring Turning Bar Holder With CCMT0602 Inserts
aliexpress.com
$3.36
Fishing Lures,5/set, 8cm-3.6g Color bionic shrimp, Luminous shrimp, Squid hook, Bionic shrimp bait
aliexpress.com
$67.13
Зеркало заднего вида, стеклянные дверные зеркала, боковое зеркало с подогревом, стекло для Ford Explorer 2011-2018, аксессуары
joom.ru
$35.49
men's hoodies & sweatshirts bodybuilding and fitness powerhouse men 2021 autumn fleece hoodie tracksuit crossfit hooded, Black
dhgate.com
$272.47
Чехлы на сиденья Kia Ceed 2 2012-2018 / Алькантара Серый / Линии 2/3 (мод.308-10), Kia Ceed 2012-2018 | Пер. Подголовники 2-х видов 4 шт. | Задний Подлокотник - Да |
goods.ru
$78.18
40L Large Capacity Men Army Military Tactical Backpack Softback Outdoor Waterproof Bug Rucksack Hiking Camping Hunting Bags
aliexpress.com
$8.42
Handheld Magnifier Illuminated 12 LED Lights High Magnification Glass Upgraded for Seniors Reading Stamp Map Jewelry
aliexpress.com
$8.83
2019 Fahion Bandage Backless Rompers Tights Female Jumpsuits For Women Overalls Plus Size Playsuit Casual Bodysuit 3 Colors
aliexpress.com


















