จำนวนชิ้น | ส่วนลดต่อชิ้น | ราคาสุทธิต่อชิ้น |
{{(typeof focus_pdata.price_list[idx+1] == 'undefined')?('≥ '+price_row.min_quantity):((price_row.min_quantity < (focus_pdata.price_list[idx+1].min_quantity - 1))?(price_row.min_quantity+' - '+(focus_pdata.price_list[idx+1].min_quantity - 1)):price_row.min_quantity)}} | {{number_format(((focus_pdata.price_old === null)?focus_pdata.price:focus_pdata.price_old) - price_row.price,2)}} บาท | {{number_format(price_row.price,2)}} บาท |
คงเหลือ | ชิ้น |
จำนวน (ชิ้น) |
- +
|
ซื้อเลย หยิบลงตะกร้า ซื้อเลย หยิบลงตะกร้า คุณมีสินค้าชิ้นนี้ในตะกร้า 0 ชิ้น
ช่องทางสั่งซื้ออื่น ๆ
|
|
|
|
คุยกับร้านค้า | |
{{ size_chart_name }} |
|
หมวดหมู่ | สวิตซ์ กด Push button switch |
สภาพ | สินค้าใหม่ |
เพิ่มเติม | |
สภาพ | สินค้ามือสอง |
เกรด | |
สถานะสินค้า | |
ระยะเวลาจัดเตรียมสินค้า | |
เข้าร่วมโปรโมชั่น | |
ข้อมูล |
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
|
รายละเอียดสินค้า |
รายละเอียดสินค้า
โมดูลคีย์บอร์ด ขนาด 4x4 ใช้งานกับ Arduino หรือบอร์ดไมโครคอนโทรลเลอร์ยอดนิยมได้ วิธีการต่อกับ arduino ![]() Schematic ของอุปกรณ์ ![]() ตัวอย่าง Code /* Keypad Membrane 4x4 Example Connects to 8 pins defined below. Can be changed to any digital pins as needed. Uses Keypad.h library */ #include <Keypad.h> const byte ROWS = 4; // Define the number of rows on the keypad const byte COLS = 4; // Define the number of columns on the keypad char keys[ROWS][COLS] = { // Matrix defining character to return for each key {'1','2','3','A'}, {'4','5','6','B'}, {'7','8','9','C'}, {'*','0','#','D'} }; byte rowPins[ROWS] = {5, 4, 3, 2}; //connect to the row pins (R0-R3) of the keypad byte colPins[COLS] = {9, 8, 7, 6}; //connect to the column pins (C0-C3) of the keypad //initialize an instance of class Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS ); //=============================================================================== // Initialization //=============================================================================== void setup(){ Serial.begin(9600); } //=============================================================================== // Main //=============================================================================== void loop(){ char key = keypad.getKey(); if (key){ // If key is pressed, send it to the Serial Monitor Window Serial.println(key); } } ![]() ![]() |
เงื่อนไขอื่นๆ |
|
Tags |
หน้าที่เข้าชม | 2,072,402 ครั้ง |
ผู้ชมทั้งหมด | 1,333,128 ครั้ง |
ร้านค้าอัพเดท | 6 ก.ย. 2568 |