from machine import Pin,PWM
from time import sleep
import neopixel
import random
from Servo import servo
import dht
NUM_LEDS = 16
leds = neopixel. NeoPixel (Pin(15), NUM_LEDS)
servo=PWM(Pin(4),freq=50,duty=0)
tems=dht.DHT22(Pin(5))
tems.measure()
print(tems.humidity())
print(tems.temperature())
for i in range(180):
Servo(servo,i)
sleep(0.01)