EasyManua.ls Logo

Eckstein komponente KS0530 - Page 147

Default Icon
160 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
147
http://www.keyestudio.com
*/
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
#include <BH1750.h>
BH1750 lightMeter;
#include <dht11.h> //include the library code:
dht11 DHT;
#define DHT11_PIN 7 //define the DHT11 as the digital pin 7
#include <Servo.h>
Servo lr_servo;//define the name of the servo rotating right and left
Servo ud_servo;//define the name of the servo rotating upwards and
downwards
const byte interruptPin = 2; //the pin of button;the corruption is
disrupted
int lr_angle = 90;//set the initial angle to 90 degree