badgeteam / ESP32-platform-firmware

Universal badge platform for ESP32 based devices! Runs on the event badges from SHA2017, HackerHotel 2019, Disobey 2019, CampZone 2019, Disobey 2020 and more!
https://badge.team
39 stars 41 forks source link

Re-add support for onewire #231

Closed xesxen closed 4 years ago

xesxen commented 4 years ago

In the past (SHA2017) there was support for interfacing with onewire modules. This re-adds support for these type of devices.

This also adds support for setting the resolution on the DS18X20 sensors.

lgtm-com[bot] commented 4 years ago

This pull request introduces 5 alerts and fixes 5 when merging f0ab7db8754de09f5ba7c5413ad2c6e6692f5875 into e2108d331c6ca7083321613f871cad85dead9a9d - view on LGTM.com

new alerts:

fixed alerts:

tjclement commented 4 years ago

I haven't tested this, but if it compiles it looks fine to me. Thanks for adding it again!