hi
i have a Arduino Uno 3 and a sen0912 microwave sensor
anyone can give me a simple code for make this project ?
thnx
hi
i have a Arduino Uno 3 and a sen0912 microwave sensor
anyone can give me a simple code for make this project ?
thnx
Et voilà, if you connect the sensor to pin 6, the onboard LED will show you the sensor state:
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, digitalRead(6));
}
BTW: you failed to provide a link to the used hardware, you failed to read the sticky post at the top of the forum, don't expect to receive much more help than this without fixing that first.