Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 305 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 305 Bytes

nodemcu-ds18b20

Dallas/Maxim DS18B20 Temperature Sensor Lua module for NodeMCU

##Usage

Copy this module on NodeMCU device using luatool.py, then connect your temperature sensor and run:

t = require('ds18b20')
t = setup(2) -- pin number
t = readAll()