Sun, 04 Apr 2021 16:54:03 +0200
Updated BBC micro:bit APIs for V2.
# -*- coding: utf-8 -*- # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module containing stubs for API generation of the 'microbit.i2c' module. """ from microbit import pin19, pin20 def init(freq=100000, sda=pin20, scl=pin19): pass def scan(): pass def read(addr, n, repeat=False): pass def write(addr, buf, repeat=False): pass