Skip to content

Instantly share code, notes, and snippets.

@tomlarkworthy
Created July 23, 2019 21:17
Embed
What would you like to do?
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