We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the documentation has an unclear specification for some of the init methods
the params for the init method should be def __init__ ( self, id , <same params as init>) -> None: ...
def __init__ ( self, id , <same params as init>) -> None: ...
machine.Timer
class Timer: def __init__(self, id, *args, **kwargs) -> None: ... def init(self, *, freq, prescaler, period, mode=UP, div=1, callback=None, deadtime=0) -> None:
machine.SPI
class SPI: def __init__(self, id, *args, **kwargs) -> None: ... def init( self, baudrate=1000000, *, polarity=0, phase=0, bits=8, firstbit=MSB, sck=None, mosi=None, miso=None, pins: Optional[Tuple] ) -> None:
class UART: def init(self, baudrate=9600, bits=8, parity=None, stop=1, *args, **kwargs) -> None: def __init__(self, id, *args, **kwargs) -> None: ...
The text was updated successfully, but these errors were encountered:
ref: paulober/Pico-W-Stub#7
Sorry, something went wrong.
Josverl
No branches or pull requests
the documentation has an unclear specification for some of the init methods
the params for the init method should be
def __init__ ( self, id , <same params as init>) -> None: ...
machine.Timer
machine.SPI
The text was updated successfully, but these errors were encountered: