รหัสสินค้า | C107 |
หมวดหมู่ | การเคลื่อนไหว การสั่น การเอียง |
ราคา | 35.00 บาท |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 30 ก.ค. 2561 |
อัพเดทล่าสุด | 15 มี.ค. 2567 |
คงเหลือ | 56 ชิ้น |
จำนวน | ชิ้น |
int
Led = 13 ;
// Declaration of the LED-output pin
int
Sensor = 10;
// Declaration of the sensor input pin
int
val;
// Temporary variable
void
setup ()
{
pinMode (Led, OUTPUT) ;
// Initialization output pin
pinMode (Sensor, INPUT) ;
// Initialization sensor pin
digitalWrite(Sensor, HIGH);
// Activating of the internal pull-up resistor
}
void
loop ()
{
val = digitalRead (Sensor) ;
// The current signal from the sensor will be read
if
(val == HIGH)
// If a signal will be detected, the LED will light up.
{
digitalWrite (Led, LOW);
}
else
{
digitalWrite (Led, HIGH);
}
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีด้านล่าง โดยลูกค้าสามารถโอนเงินหลังทำรายการสั่งซื้อได้ทันทีไม่ต้องรอยืนยัน
หลังจากโอนเงินแล้วสามารถแจ้งชำระเงินได้ที่ เมนูแจ้งชำระเงิน
หรือชำระเงินผ่าน PayPal โดยคลิกที่ ชำระเงินออนไลน์
หน้าที่เข้าชม | 1,830,165 ครั้ง |
ผู้ชมทั้งหมด | 799,165 ครั้ง |
เปิดร้าน | 12 ธ.ค. 2558 |
ร้านค้าอัพเดท | 8 ก.ย. 2568 |