mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
16 lines
254 B
C++
16 lines
254 B
C++
#pragma once
|
|
|
|
#include "BusScanner.h"
|
|
#include "OneWireBus.h"
|
|
|
|
class OneWireScanner : public BusScanner {
|
|
public:
|
|
OneWireScanner(String& out, uint8_t pin);
|
|
|
|
protected:
|
|
virtual boolean syncScan() override;
|
|
|
|
private:
|
|
OneWire* _bus;
|
|
};
|