From fd03f63153c4ca7139d54efbd301f7fa26b66f76 Mon Sep 17 00:00:00 2001 From: fleur <spacecarrot@fleurshax.net> Date: Wed, 21 Aug 2019 11:23:38 +0200 Subject: [PATCH] Documentation for pride module. --- pycardium/modules/py/pride.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pycardium/modules/py/pride.py b/pycardium/modules/py/pride.py index 3bfb29b6..77f11ca9 100644 --- a/pycardium/modules/py/pride.py +++ b/pycardium/modules/py/pride.py @@ -150,6 +150,12 @@ def get(flag="rainbow"): """ return flags[flag] +def print_all(): + """ + Prints the names of all available flags on the serial port. + """ + for i in flags: + print(i) def print_all(): """ -- GitLab