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

$38.18
20S 80A/100A 120A version S LiFePO4 BMS/PCM/PCB battery protection board for 20 Packs 18650 Battery Cell w/ Balance w/Temp
aliexpress.com
$23.82
Durable High Quality Replacement Useful Brand New Wiper Assembly Part Rear For Land Rover LR3 LR4 3.0 4.0 Glass
aliexpress.com
$1.37
EXCLUSIVE Logo Car Styling Car Stickers Accessories Tools Emblems for All Models Mini Cooper Bmw F10 Mazda 3bl Car Decoration
aliexpress.com
$4.49
Mini USB LED Car Light Auto Interior Atmosphere Light Decorative Lamp Emergency Lighting PC Auto Colorful Light Car Accessory
aliexpress.com
$8.80
Rob Zombie Halloween 2010 Midnight Jamboree Show Black T Shirt New High Quality Custom Printed Tops Hipster Tees T-Shir
aliexpress.com
$3.40
Bicycle Fork Stem Height Extender Handlebar Rise Up Adapter Aluminum Alloy Height Spacer Cycle Accessories 100mm 28.6mm
aliexpress.com
$37.92
Car Bumper Lip Front Spoiler Skirt Deflector For Opel Insignia G09 2008~2017 Tune Car Modified Body Kit VIP Hella Flush Lips
aliexpress.com
$182.75
Huepar S04CG 16 lines 4D Cross Line Laser Level Bluetooth & Remote Control Functions Green Beam Lines With Hard Carry Case
aliexpress.com
$41.20
Jungle Gym Outdoor Sports Climbing Rope With Platforms and Disc Swing Seat Fitness Treehouse Rope Ladder Kids Toy Birthday Gift
aliexpress.com
$23.77
DC12V 120W 10A 50PSI 28 Cylinder Portable Tire Inflator Car Electric Air Compressor Car Tire Pump Inflatable Pump with 3.0m
aliexpress.com
$15.23
WIFI Touch Light Wall Switch Gold Glass Blue LED 118*72mm Universal Smart Home Phone Control 2Gang 2Way Alexa Google Home Alice
aliexpress.com
$45.80
Motorcycle Cover Brake Pump Handle Lever for Bmw R 1200 Gs Lc Motorcycle Headlight Brackets Bmw R 1200 Gs Adventure Lc Rs 200
aliexpress.com
$7.15
Front Rear Road Bike Bike Axle Bicycle Quick Release Hub Bicycle Hollow Shaft Bicycle Wheel Hub чорний
joom.com
$11.80
Clear Qtips Holder Plastic Desktop Cosmetic Storage Box for Cotton Ball Cotton Swab Cotton Round
joom.com
$2.37
Ложка для рису з нержавіючої сталі, антипригарна лопатка для приготування їжі, ергономічний дизайн, легка
joom.com
$18.68
Жіноче легке взуття з відкритою спиною, комфортне взуття для ходьби, дихаюче тапочки з закритим носком, шльопанці 41
joom.com
$5.94
1 шт. художня книжка-розмальовка 22 сторінки розмальовки подарунок на день народження зняти стрес вбити час, графіті живопис малюнок художня книга
joom.com
$71.96
Завжди красива жіноча сукня подружки нареченої з блискучими плісированими лямками з V-подібним вирізом і ампірною талією в підлогу XL бордовий
joom.com
$94.84
Puma Nautical Logo Print Comfortable Soft Versatile Short Sleeve T-Shirt Men Tops Navy-Blue 688945-16 S
joom.com
$9.43
Жіночі стрейч-легінси для йоги з блакитним принтом акули, спортивні штани для фітнесу, бігу в тренажерному залі 8XL винний
joom.com
$11.31
Fresh Color Mesh Toiletry Bag Handbag Hanging Shower Organizer Clothes Storage Bag Cosmetic Bag Pink(S)
joom.com









