Skip to content

DHT22 temperature sensor library for AVR microcontroller

License

Notifications You must be signed in to change notification settings

radionoise/avr-dht22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHT22 library for AVR microcontroller

Overview

This library was tested on ATmega 16 @ 8 MHz.

Example

Dht22Port port = {&DDRA, &PORTA, &PINA, PIN0};
Dht22Port *portPtr = &port;
Dht22Data data;
uint8_t result = dht22ReadData(&data, portPtr);

if (result == DHT22_OK) {
    // do something
}

About

DHT22 temperature sensor library for AVR microcontroller

Resources

License

Stars

Watchers

Forks

Packages

No packages published