หมวดหมู่ | Module Lcd |
ราคา | 220.00 บาท |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 22 ส.ค. 2558 |
อัพเดทล่าสุด | 25 ม.ค. 2568 |
จำนวน | ชิ้น |
Arduino input and output expansion board LCDKeypad Shield
LCD Keypad Shield input-output expansion board using a 2-line 16 character LCD with contrast adjustment and backlight, using an analog port will complete five key input, a reset button, the unused IO ports are extended out of the reserve, make full use of IO ports. Occupancy digital port: PIN4 (DB4), 5 (DB5), 6 (DB6), 7 (DB7), 8 (RS), 9 (E), 10 (backlight control), analog key port A0. (LCD color is not specified, the random delivery.)
Used in conjunction with Arduino:
GP2D12
#include
LCD4Bit_mod lcd = LCD4Bit_mod(2);
char GP2D12;
char a,b;
char str1[]="Renge:";
char str2[]=" Renge Over ";
char str3[]="cm";
void setup()
{
lcd.init();
lcd.clear();
lcd.printIn("GP2D12 testing...");
}
void loop()
{
GP2D12=read_gp2d12_range(1);
if(GP2D12>80||GP2D12<10)
{
lcd.cursorTo(2,0);
lcd.printIn(str2);
}
else
{
a=0x30+GP2D12/10;
b=0x30+GP2D12%10;
lcd.cursorTo(2, 3);
lcd.printIn(str1);
lcd.print(a);
lcd.print(b);
lcd.printIn(str3);
}
delay(50);
}
float read_gp2d12_range(byte pin)
{
int tmp;
tmp = analogRead(pin);
if (tmp < 3)return -1;
return (6787.0 /((float)tmp - 3.0)) - 4.0;
}
ทางร้านส่งของทุกวัน
(แจ้งรหัสไปรษณีย์ทาง Email)
การส่งของ
1.ส่งแบบพัสดุลงทะเบียนจัดส่ง
2.ส่งแบบพัสดุ EMS
3.ส่ง J&T Express (ต้องมีผู้รับสินค้า)
เมื่อลูกค้าทำการโอนเงินแล้ว
กรุณาแจ้งชำระเงินทุกครั้งผ่านหน้าเวป หรือแจ้งที่ 084-6334610 หรือ Add line QR code ข้างล่าง
เพื่อความรวดเร็วในการตรวจสอบและกรุณาเขียนที่อยู่ในการส่งให้ชัดเจน ทางเราจะยืนยันการส่งของทางEmail ของท่านที่ให้ให้ไว้
ไปหน้าแจ้งชำระเงิน"กดคลิ๊กที่นี่"
**ขอบคุณที่ใช้สินค้าของเราครับ**
หน้าที่เข้าชม | 354,222 ครั้ง |
ผู้ชมทั้งหมด | 100,528 ครั้ง |
เปิดร้าน | 13 ก.ค. 2558 |
ร้านค้าอัพเดท | 20 ต.ค. 2568 |