KY031: Shock Sensor Module
Use the LED comes with digital pin 13, and connect the shock sensor output to digital pin 3, when the […]
Use the LED comes with digital pin 13, and connect the shock sensor output to digital pin 3, when the […]
Use the LED comes with digital pin 13, and connect the shock sensor output to digital pin 3, when the […]
/* Blink Turns on an LED on for one second, then off for one second, repeatedly. This example code is […]
Use the LED comes with digital pin 13, and connect the shock sensor output to digital pin 3, when the […]
Use the LED comes with digital pin 13, and connect the shock sensor output to digital pin 3, when the […]
int Led=13; int Shock=3 int val; void setup() { pinMode(Led,OUTPUT); pinMode(Shock,INPUT);// } void loop() { val=digitalRead(Shock); if(val==HIGH)/ { digitalWrite(Led,LOW); } […]
int Led=13; int Shock=3 int val; void setup() { pinMode(Led,OUTPUT); pinMode(Shock,INPUT);// } void loop() { val=digitalRead(Shock); if(val==HIGH)/ { digitalWrite(Led,LOW); } […]
int Led=13; int Shock=3 int val; void setup() { pinMode(Led,OUTPUT); pinMode(Shock,INPUT);// } void loop() { val=digitalRead(Shock); if(val==HIGH)/ { digitalWrite(Led,LOW); } […]
// Project 12 – Pulse Monitor Test Script int ledPin = 13; int sensorPin = 0; double alpha = 0.75; […]
// Project 11 int redPin = 2; int yellowPin = 3; int greenPin = 4; int aPin = 6; int […]