onewire.OneWire class missing on v1.22.0+ esp32
Closed this issue · 1 comments
Josverl commented
missing class definition for
class OneWire:`
prior to v1.22.0 the stub was :
from _typeshed import Incomplete
class OneWireError(Exception): ...
class OneWire:
SEARCH_ROM: int
MATCH_ROM: int
SKIP_ROM: int
pin: Incomplete
def __init__(self, pin) -> None: ...
def reset(self, required: bool = ...): ...
def readbit(self): ...
def readbyte(self): ...
def readinto(self, buf) -> None: ...
def writebit(self, value): ...
def writebyte(self, value): ...
def write(self, buf) -> None: ...
def select_rom(self, rom) -> None: ...
def scan(self): ...
def _search_rom(self, l_rom, diff): ...
def crc8(self, data): ...
Josverl commented
resolved by : Josverl/micropython-stubber@e403227