|
|
@ -40,11 +40,21 @@ class Soup(Bureau):
|
|
|
|
@add_command("ptrn", 'Set Pattern')
|
|
|
|
@add_command("ptrn", 'Set Pattern')
|
|
|
|
def print_pattern(self, data):
|
|
|
|
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(".")
|
|
|
|
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():
|
|
|
|
def main():
|
|
|
|