--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Calliope/calliope_mini/i2c.py Wed Apr 29 18:26:18 2020 +0200 @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2020 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'calliope_mini.i2c' module. +""" + +from calliope_mini 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