Untitled
Never
#include <Arduino.h> const int SENSOR_PIN = 4; const int RELAY_PIN = 2; void setup() { Serial.begin(9600); Serial.println("Projects Planner"); Serial.println("HC-SR501 sensor with relay"); pinMode(SENSOR_PIN, INPUT); pinMode(RELAY_PIN, OUTPUT); } void loop() { int motion = digitalRead(SENSOR_PIN); if (motion) { Serial.println("Motion detected"); digitalWrite(RELAY_PIN, LOW); } else { Serial.println("===nothing moves"); digitalWrite(RELAY_PIN, HIGH); } delay(500); }
Raw Text
-
Ingredients in keto acv gummies canada
3 min ago
-
Buy Adderall Pills Online Overnight Delivery Solution
13 min ago
-
videos t33ns gu
15 min ago
-
CH.I.LL D MEGA LINKS COLLECTION
21 min ago
-
Untitled
24 min ago
-
https://gummiesmart.com/mozz-guard-mosquito-zapper-ca/
24 min ago
-
Untitled
24 min ago
-
trtesd tfgh ghd hghfdh
26 min ago
-
š„Pš„Èš„Dš„Øš„
28 min ago
-
rd5edg hdgfjk
30 min ago