Microbit/microbit/microphone.py

changeset 11
c8198736bff3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Microbit/microbit/microphone.py	Sun Apr 04 16:54:03 2021 +0200
@@ -0,0 +1,27 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2021 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'microbit.microphone'
+module.
+"""
+
+def current_event():
+    pass
+
+def was_event(event):
+    pass
+
+def is_event(event):
+    pass
+
+def get_events():
+    pass
+
+def set_threshold(event, value):
+    pass
+
+def sound_level():
+    pass

eric ide

mercurial