Microbit/microbit/uart.py

Sat, 24 Aug 2019 17:04:25 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 24 Aug 2019 17:04:25 +0200
changeset 0
b3daa2ebea2f
permissions
-rw-r--r--

MicroPython stubs project started

# -*- coding: utf-8 -*-

# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module containing stubs for API generation of the 'microbit.uart' module.
"""

ODD = 0
EVEN = 1

def init(baudrate=9600, bits=8, parity=None, stop=1, *, tx=None, rx=None):
    pass

def any():
    pass

def read():
    pass

def read(nbytes):
    pass

def readinto(buf):
    pass

def readinto(buf, nbytes):
    pass

def readline():
    pass

def write(buf):
    pass

eric ide

mercurial