Private
Public Access
2
0

Merge branch 'pwm' into for-pull

This commit is contained in:
Thomas Ingleby
2014-04-14 17:16:30 +01:00
7 changed files with 388 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env python3
import pymaa as maa
import time
x = maa.PWM(0,3)
x.enable(1);
x.period_us(20)
value= 0.0
while True:
x.write(value)
time.sleep(0.2)
value = value +0.01
if value >= 1:
value = 0.0