# Path: IoTPy/boards/uper.py
# class UPER1(IoBoard):
# 
#     def __init__(self, io=None):
#         IoBoard.__init__(self, UPER1_PINOUT, io)


from colorsys import hls_to_rgb
from time import sleep
from IoTPy.boards.uper import UPER1


with UPER1() as board, \
        board.pwm(27, polarity=0) as redPin, board.pwm(28, polarity=0) as greenPin, board.pwm(34, polarity=0) as bluePin:

    while True:
        for color in xrange(500):

# Path: IoTPy/boards/uper.py
# class UPER1(IoBoard):
# 
#     def __init__(self, io=None):
#         IoBoard.__init__(self, UPER1_PINOUT, io)


# Path: examples/basic/04_LED_PWM_2.py
from colorsys import hls_to_rgb
from time import sleep
from IoTPy.boards.uper import UPER1



with UPER1() as board, \
        board.pwm(27, polarity=0) as redPin, board.pwm(28, polarity=0) as greenPin, board.pwm(34, polarity=0) as bluePin:

    while True:
        for color in xrange(500):

            rgb = hls_to_rgb(color*0.002, 0.1, 1)