Newat and clean
This commit is contained in:
9
test.py
9
test.py
@ -11,10 +11,13 @@ led = pulses.ledPulse(12)
|
||||
led.start()
|
||||
led.set(delay=1/100, loopMethod="sin", max=20)
|
||||
time.sleep(4)
|
||||
led.set(delay=1/100, loopMethod="on", initialMethod="sin", finalMethod=None, max=40)
|
||||
led.set(delay=1/100, loopMethod="on", initialMethod="sin",
|
||||
finalMethod=None, max=40)
|
||||
time.sleep(4)
|
||||
led.set(delay=1/100, loopMethod="cos", initialMethod=None, finalMethod="sin", max=20)
|
||||
led.set(delay=1/100, loopMethod="cos", initialMethod=None,
|
||||
finalMethod="sin", max=20)
|
||||
time.sleep(4)
|
||||
led.set(delay=1/100, loopMethod="on", initialMethod="sin", finalMethod="sin", max=40)
|
||||
led.set(delay=1/100, loopMethod="on", initialMethod="sin",
|
||||
finalMethod="sin", max=40)
|
||||
time.sleep(4)
|
||||
led.stop()
|
||||
|
Reference in New Issue
Block a user