#!/usr/bin/python

from sphero_driver import sphero_driver
from time import sleep

# if you know your Sphero's address
# sphero = sphero_driver.Sphero("Sphero", "FF:CD:AA:99:45:00")
sphero = sphero_driver.Sphero()

while not sphero.is_connected:
    sphero.connect()

sleep(1)
sphero.set_rgb_led(255, 0, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 255, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 0, 255, 0, False)
sleep(1)

bc386b6c658dd34e9d6ecd85b255292d32f7d0f8
<mask token>

<mask token>
while not sphero.is_connected:
    sphero.connect()
sleep(1)
sphero.set_rgb_led(255, 0, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 255, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 0, 255, 0, False)
sleep(1)

<mask token>
sphero = sphero_driver.Sphero()
while not sphero.is_connected:
    sphero.connect()
sleep(1)
sphero.set_rgb_led(255, 0, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 255, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 0, 255, 0, False)
sleep(1)

from sphero_driver import sphero_driver
from time import sleep
sphero = sphero_driver.Sphero()
while not sphero.is_connected:
    sphero.connect()
sleep(1)
sphero.set_rgb_led(255, 0, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 255, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 0, 255, 0, False)
sleep(1)

#!/usr/bin/python

from sphero_driver import sphero_driver
from time import sleep

# if you know your Sphero's address
# sphero = sphero_driver.Sphero("Sphero", "FF:CD:AA:99:45:00")
sphero = sphero_driver.Sphero()

while not sphero.is_connected:
    sphero.connect()

sleep(1)
sphero.set_rgb_led(255, 0, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 255, 0, 0, False)
sleep(1)
sphero.set_rgb_led(0, 0, 255, 0, False)
sleep(1)
