Microbit/audio.py

Sun, 25 Aug 2019 19:25:37 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 25 Aug 2019 19:25:37 +0200
changeset 2
2c3f30af031d
parent 0
b3daa2ebea2f
child 10
f34fe5abe069
permissions
-rw-r--r--

Started to add the stubs for MicroPython.

# -*- 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