Skip to content

Commit 400e0a1

Browse files
committed
Create PWM.py
1 parent 9f98bc9 commit 400e0a1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

boards/bearpi/PWM/PWM.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
'''
2+
3+
BEARPI PWM demo
4+
5+
'''
6+
7+
from misc import PWM
8+
9+
pwm = PWM(PWM.PWM0, 200, 800)
10+
pwm.open()

0 commit comments

Comments
 (0)