diff --git a/screenless/bureau/soup/soup.py b/screenless/bureau/soup/soup.py index a400166..533abd1 100644 --- a/screenless/bureau/soup/soup.py +++ b/screenless/bureau/soup/soup.py @@ -40,11 +40,21 @@ class Soup(Bureau): @add_command("ptrn", 'Set Pattern') def print_pattern(self, data): """ - Prints the pattern sent by the arduino + Prints a pattern composed with A and B characters. """ - print(data) + + self.print_small(data) shortcode, _ = data.split(".") - self.print_small(_) + self.print_small(shortcode) + + @add_command("weave", "Weave two text together") + def weave(self): + + self.print_small('Select the first text') + text_a = input() + + self.print_small('Select the second text') + text_b = input() def main():