Thu, 29 Aug 2019 19:05:05 +0200
CircuitPython: added more stub files.
# -*- coding: utf-8 -*- # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module containing stubs for API generation of the 'audiobusio' module. """ class I2SOut(): playing = 0 paused = 0 def __init__(self, bit_clock, word_select, data, *, left_justified): pass def deinit(self): pass def play(self, sample, *, loop=False): pass def stop(self): pass def pause(self): pass def resume(self): pass class PDMIn(): sample_rate = 0 def __init__(self, clock_pin, data_pin, *, sample_rate=16000, bit_depth=8, mono=True, oversample=64, startup_delay=0.11): pass def deinit(self): pass def record(self, destination, destination_length): pass