#Usage
Put ds18b20.c and ds18b20.h in the same directory as your project code.
Include library with #include ds18b20.h
To initialize library, call ds18b20_init(GPIO);
To get temperature(in Celcius), call ds18b20_get_temp();
For example, see this code.
forked from feelfreelinux/ds18b20
-
Notifications
You must be signed in to change notification settings - Fork 0
tomathivanan/ds18b20
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Library for single DS18B20 on ESP32 esp-idf framework
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 98.6%
- Makefile 1.4%