#!/usr/bin/python

import subprocess
import time
import usblamp

checkTime = 1
arr = ("white", "yellow", "red", "blue", "green")

for i in arr:
        print i
        usblamp.switchTo(i)
        time.sleep(checkTime)

print 'Code exited'
usblamp.switchTo("off")
3c89e0416a919ef6ea4061a4f939060a389ecc42
#!/usr/bin/python

import subprocess
import time
import usblamp

checkTime = 1
arr = ("white", "yellow", "red", "blue", "green")

for i in arr:
        print i
        usblamp.switchTo(i)
        time.sleep(checkTime)

print 'Code exited'
usblamp.switchTo("off")