KY015: Temprature and Humidity Sensor
Sensor KY015 Arduino Sample Code by Patrick #define dht_dpin A0 byte bGlobalErr; byte dht_dat[5]; void setup(){ InitDHT(); Serial.begin(9600); delay(300); Serial.println("Humidity […]
Sensor KY015 Arduino Sample Code by Patrick #define dht_dpin A0 byte bGlobalErr; byte dht_dat[5]; void setup(){ InitDHT(); Serial.begin(9600); delay(300); Serial.println("Humidity […]
/* Button Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a pushbutton attached […]
int sensorPin = A5; // select the input pin for the potentiometer int ledPin = 13; // select the pin […]
/* Blink Turns on an LED on for one second, then off for one second, repeatedly. This example code is […]
/* Button Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a pushbutton attached […]
/* Button Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a pushbutton attached […]
int sensorPin = 5; int value = 0; void setup() { pinMode(3, OUTPUT); Serial.begin(9600); } void loop() { value = […]
/* Button Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a pushbutton attached […]
* Button Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a pushbutton attached […]
int LedPinA = 5; int LedPinB = 6; int ButtonPinA = 7; int ButtonPinB = 4; int buttonStateA = 0; […]