1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 12:53:22 +00:00

Updating version to 0.1.2, fixing the SoftPWM verification test case

This commit is contained in:
Robert Wolterman
2016-07-25 19:38:27 -05:00
parent c3448ec661
commit 7e83fa8435
4 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/python
import CHIP_IO.SOFTPWM as SPWM
import CHIP_IO.GPIO as GPIO
import time
@ -40,7 +42,7 @@ if __name__ == "__main__":
# SETUP SOFTPWM
SPWM.start(SPWMGPIO, 50, 1)
#SPWM.set_frequency(SPWMGPIO, 2)
SPWM.set_frequency(SPWMGPIO, 2)
# SETUP SOFTPWM RECEIVER
rcvr = SPWMReceiver(GPIO, RECEIVERGPIO, COUNT, SLEEPTIME)