Skip to content

Instantly share code, notes, and snippets.

@tomlarkworthy
Created July 23, 2019 21:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tomlarkworthy/bdb56c741e4c706e3a0f8fd1477fe436 to your computer and use it in GitHub Desktop.
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