Created
July 23, 2019 21:17
-
-
Save tomlarkworthy/bdb56c741e4c706e3a0f8fd1477fe436 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from morseapi import MorseRobot | |
import random | |
bot = MorseRobot("E8:3C:9F:0E:20:60") | |
bot.connect() | |
while True: | |
bot.eye(random.random() * 256) | |
bot.turn(45) | |
bot.say("hi") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment