Skip to content

Commit

Permalink
优化pypi文件架构
Browse files Browse the repository at this point in the history
  • Loading branch information
sc-bin committed May 13, 2024
1 parent bd4ed68 commit 95da517
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions README_PY.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ while True:
## example-pwm

```
from gpioc.pwm import Pwm
from gpioc.chips.H616 import *
import time
led = Pwm(PC13.gpio_num)
led.frequency = 1000
while 1:
for i in range(1,100,5):
led.duty_cycle = i
time.sleep(0.1)
from gpioc.pwm import Pwm
from gpioc.chips.H616 import *
import time
led = Pwm(PC13.gpio_num)
led.frequency = 1000
while 1:
for i in range(1,100,5):
led.duty_cycle = i
time.sleep(0.1)
```
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name="gpioc",
version="1.0_rc2",
version="1.0_rc3",
author="sc-bin",
author_email="[email protected]",
description="A module to control GPIO",
Expand Down

0 comments on commit 95da517

Please sign in to comment.