You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the first call after importing should always be to set the URL at
7
+
which the module can be reached.
8
+
9
+
```python
10
+
import fluepdot as fd
11
+
12
+
fd.set_url("module.local")
13
+
```
14
+
15
+
## Functions
16
+
17
+
18
+
function | args | default values | return type | description
19
+
---|---|---|---|---
20
+
post_time ||| None | indefinitly sets the module to display the current time.
21
+
get_size ||| (int, int) | returns the size of the connected display
22
+
get_frame ||| str | returns the current frame stored by the module
23
+
get_pixel | x: int, y: int | x=0, y=0 | returns the state of a single pixel
24
+
get_fonts ||| None | prints a list of fonts installed on the module
25
+
get_mode ||| fluepdot.Mode | returns the mode the module is in
26
+
post_text | text: str, x: int, y: int, font: str | x=0, y=0, font="DejaVuSans12" | requests.Response | posts a text to the module and returns the requests response
27
+
post_frame | frame: List[List[bool]] || requests.Response | posts a frame to the module and returns the requests response
28
+
set_pixel | x: int, y: int | x=0, y=0 | requests.Response | sets a pixel on the display to active and returns the requests response
29
+
unset_pixel | x: int, y: int | x=0, y=0 | sets a pixel on thes display to inactive and returns the requests response
30
+
set_mode | mode: fluepdot.Mode | mode=Mode.FULL | requests.Response | sets the module to FULL or DIFFERENTIAL update mode and returns the requests response
0 commit comments