robert-hh / Onewire_DS18X20

Classes for driving the DS18x20 sensor with the onewire protocol for Pycom MicroPython
11 stars 6 forks source link

Add support for DS1822P sensor #1

Closed amotl closed 4 years ago

amotl commented 4 years ago

Hi @robert-hh,

first things first: Thank you very much for publishing this code which will enable the community to improve it further [1].

A minor, almost no-effort thing would be to add support for the DS1822P family of sensors as outlined within the commit https://github.com/micropython/micropython/commit/595438785879552912a1a6832a4f2715f4e82272 recently added to Genuine MicroPython.

It just adds the family code 0x22 to the list of known codes.

With kind regards, Andreas.

[1] https://community.hiveeyes.org/t/untersuchung-und-verbesserung-des-timings-bei-der-ansteuerung-der-ds18b20-sensoren-unter-micropython/2309/99