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
function | args | default values | return type | description
18
-
---|---|---|---|---
19
-
_init_ | baseURL: str, width: int, height: int | x=115, y=16 | fluepdot.Fluepdot | Constructor for Fluepdot class
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
|_init_| baseURL: str, width: int, height: int | x=115, y=16 | fluepdot.Fluepdot | Constructor for Fluepdot class|
20
+
|post_time ||| None | indefinitly sets the module to display the current time.|
21
+
|get_size ||| tuple[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 | bool |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]], center: bool | center=False | 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 | requests.Response |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