d2r2 / go-dht

Golang library to interact with DHT11/DHT22/DHT12 temperature and humidity sensors from Raspberry PI.
MIT License
133 stars 52 forks source link

Add call with context param, to let control sensor interaction from code outside #18

Closed d2r2 closed 5 years ago

d2r2 commented 5 years ago

Add call with context param, to let control sensor interaction from code outside.

This can be used for instance in case when you need to terminate sensor interaction process.