30pcs TB371 4 Key MCU Keyboard Button Board Compatible UNO MEGA2560 Pro Mini Nano Due for Raspberry Pi Teensy++ Geekcrei
Geekcreit
sku: 1661794
ACCORDING TO OUR RECORDS THIS PRODUCT IS NOT AVAILABLE NOW
$34.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
Customers also viewed

$6.26
Увлажняющая и против морщин сыворотка для лица для восстановления и осветления тусклой кожи - укрепляющая и увлажняющая формула
aliexpress.ru
$2.79
A24P 2X запасные части резиновое лезвие шестерни толстый вал запасная часть для Magic 900W
aliexpress.ru
$43.31
2024 New Women's Summer Vintage Style V-neck Lace Embroidered Flower Top Puffy Sleeve Shirt
aliexpress.com
$28.32
Motorcycle Tail Bag Reflective Strip with Handle Motorcycle Rear Luggage Rack Bag for BMW F700GS R1200GS G310GS Adv F850GS
aliexpress.com
$35.08
Женские роскошные массивные кроссовки 2023 сетчатые дышащие мужские спортивные повседневные женские кроссовки для бега и фитнеса обувь на платформе
aliexpress.ru
$10.67
Мощный и эффективный термостойкий тепловой пистолет 300 Вт с точным контролем температуры-идеально подходит для усадки трубки и жары
aliexpress.ru
$15.37
Футболка мужская Printio Футболка прыжки в высоту белая 3XL, Белый, Футболка "прыжки в высоту"
goods.ru
$11.64
1pcs/lot korean style Long Sleeve Lace Tops Striped Blouse Women Spring Autumn Turn-Down striped Collar blouse
aliexpress.com
$44.35
22mm motorcycle hand guard shield windproof motorbike motocross universal protector modification protective gear new arrivals
dhgate.com
$5.29
Demon Killer Flame Heating Wire Ni80 SS316 Material for Premade Prebuilt Coil RTA RDA DIY Vape
gearbest.com
$42.78
Skilled Artist Hand-painted High Quality Abstract Figure Oil Painting on Canvas Abstract Blue Man Oil Painting for Living Room
aliexpress.com
$17.76
8 Inch Chrome Modern Style Rain Shower Head Brass Shower Bathroom Accessaraies Nsh211
aliexpress.com
$2.55
high qulaity crystal brooches pins for women mens clothes scarf bag green frog animal broach rhinstone broche european united state style, Gray
dhgate.com
$30.54
sandals women's open toe breathable anti-slip beach platform high heel slipper loafers shoes soft sole travel sandal summer, Black
dhgate.com
$74.96
women's hoodies & sweatshirts mosimolly pockets big hoodies women's hooded sweatpants cool pullovers 's sweatshirt in fashion, Black
dhgate.com
$156.83
shoes with keychain mens jumpman basketball 4 4s black cat rasta se neon bred metallic purple green winter fire red suede black trainers
dhgate.com
$5.94
KEVIN New Fashion Womens Wrist Watches Leather/Stainless Steel Mesh Watchband Simple Ladies Geneva Quartz Clock relogio feminino
aliexpress.com
$24.98
Впускная труба с крюком для лодки для 2-тактного подвесного мотора Hangkai мощностью 4,0 л.с.
aliexpress.ru
$64.19
Подвеска из натурального зеленого аметиста из стерлингового серебра 925 пробы в двух тонах 1,81 дюйма c7c08
joom.ru
$30.42
Квадратный держатель для бумаги из искусственной кожи, диспенсер для салфеток, ящик для хранения автомобиля, домашний декор Ancient Egypt Print
joom.ru













