รหัสสินค้า | B141 |
หมวดหมู่ | การเคลื่อนไหว การสั่น การเอียง |
ราคา | 27.00 บาท |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 23 มิ.ย. 2561 |
อัพเดทล่าสุด | 20 เม.ย. 2568 |
คงเหลือ | 22 ชิ้น |
จำนวน | ชิ้น |
int tiltPin = 2; // pin number for tilt switch signal
int ledPin = 13; // pin number of LED
int tiltState = 0; // variable for reading the tilt switch status
void setup() {
pinMode(ledPin, OUTPUT); // set the LED pin as output
pinMode(tiltPin, INPUT); // set the tilt switch pin as input
}
void loop(){
// get the tilt switch state
tiltState = digitalRead(tiltPin);
// check if tilt switch is tilted.
if (tiltState == HIGH) {
digitalWrite(ledPin, HIGH);
}
else {
digitalWrite(ledPin, LOW);
}
}
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีด้านล่าง โดยลูกค้าสามารถโอนเงินหลังทำรายการสั่งซื้อได้ทันทีไม่ต้องรอยืนยัน
หลังจากโอนเงินแล้วสามารถแจ้งชำระเงินได้ที่ เมนูแจ้งชำระเงิน
หรือชำระเงินผ่าน PayPal โดยคลิกที่ ชำระเงินออนไลน์
หน้าที่เข้าชม | 1,830,165 ครั้ง |
ผู้ชมทั้งหมด | 799,165 ครั้ง |
เปิดร้าน | 12 ธ.ค. 2558 |
ร้านค้าอัพเดท | 8 ก.ย. 2568 |