Microbit/audio.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
child 10
f34fe5abe069
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 'audio' module.
"""

from microbit import pin0

def play(source, wait=True, pin=pin0, return_pin=None):
    pass

class AudioFrame():
    def __init__(self):
        pass

eric ide

mercurial