one_wire_device_ds_1990.h 420 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "one_wire_device.h"
  3. // TODO fix GPL compability
  4. // currently we use rework of OneWireHub
  5. class DS1990 : public OneWireDevice {
  6. public:
  7. static constexpr uint8_t family_code{0x01};
  8. DS1990(
  9. uint8_t ID1,
  10. uint8_t ID2,
  11. uint8_t ID3,
  12. uint8_t ID4,
  13. uint8_t ID5,
  14. uint8_t ID6,
  15. uint8_t ID7);
  16. void do_work(OneWireGpioSlave* owner) final;
  17. };