Ejemplo n.º 1
0
def main():
    notification_q = Queue.Queue()

    cw = ColorificWorker(notification_q)

    cw.start()
    cw.alert_red()
    time.sleep(5)
    cw.color_shift(cw.BLUE)
    time.sleep(5)
    cw.alert_red()
    time.sleep(20)
    cw.join()