|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module containing stubs for API generation of the 'microbit.display' module. |
|
8 """ |
|
9 |
|
10 def get_pixel(x, y): |
|
11 pass |
|
12 |
|
13 def set_pixel(x, y, value): |
|
14 pass |
|
15 |
|
16 def clear(): |
|
17 pass |
|
18 |
|
19 def show(image): |
|
20 pass |
|
21 |
|
22 def show(value, delay=400, *, wait=True, loop=False, clear=False): |
|
23 pass |
|
24 |
|
25 def scroll(value, delay=150, *, wait=True, loop=False, monospace=False): |
|
26 pass |
|
27 |
|
28 def on(): |
|
29 pass |
|
30 |
|
31 def off(): |
|
32 pass |
|
33 |
|
34 def is_on(): |
|
35 pass |
|
36 |
|
37 def read_light_level(): |
|
38 pass |