WeatherStation/DHT22.h

12 lines
221 B
C

#ifndef DHT22_H
#define DHT22_H
#define DATAPIN PC0
#define PORT PORTC
#define PIN PINC
#define DDR DDRC
int DHT22_Read(int *temperature, int *humidity);
void DHT22_Init();
#endif /* DHT22_H */