test with pattern argument

workspace
km0 2 years ago
parent e906d57d89
commit 066702564b

@ -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():

Loading…
Cancel
Save