Microbit/microbit/display.py

changeset 0
b3daa2ebea2f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Microbit/microbit/display.py	Sat Aug 24 17:04:25 2019 +0200
@@ -0,0 +1,38 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'microbit.display' module.
+"""
+
+def get_pixel(x, y):
+    pass
+
+def set_pixel(x, y, value):
+    pass
+
+def clear():
+    pass
+
+def show(image):
+    pass
+
+def show(value, delay=400, *, wait=True, loop=False, clear=False):
+    pass
+
+def scroll(value, delay=150, *, wait=True, loop=False, monospace=False):
+    pass
+
+def on():
+    pass
+
+def off():
+    pass
+
+def is_on():
+    pass
+
+def read_light_level():
+    pass

eric ide

mercurial