Library for single DS18B20 on ESP32 esp-idf framework
C Makefile
Latest commit e1cb187 Oct 6, 2016 Feelfree committed on GitHub Create component.mk
Permalink
Failed to load latest commit information.
README.md Update README.md Sep 29, 2016
component.mk Create component.mk Oct 6, 2016
ds18b20.c Update ds18b20.c Sep 29, 2016
ds18b20.h Update ds18b20.h Sep 29, 2016

README.md

Simple library for single DS18B20 on ESP32

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 DS_init(GPIO);
To get temperature(in Celcius), call DS_get_temp();
For example, see this code.