1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 04:43:21 +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,8 @@
0.1.2
----
* SoftPWM Fix by aninternetof
* Added a verification test for SoftPWM
0.1.1
----
* Some refactoring of the edge detection code, made it function better

View File

@ -20,7 +20,7 @@ classifiers = ['Development Status :: 3 - Alpha',
'Topic :: System :: Hardware']
setup(name = 'CHIP_IO',
version = '0.1.1',
version = '0.1.2',
author = 'Robert Wolterman',
author_email = 'robert.wolterman@gmail.com',
description = 'A module to control CHIP IO channels',

View File

@ -76,6 +76,6 @@ void define_constants(PyObject *module)
both_edge = Py_BuildValue("i", BOTH_EDGE);
PyModule_AddObject(module, "BOTH", both_edge);
version = Py_BuildValue("s", "0.1.1");
version = Py_BuildValue("s", "0.1.2");
PyModule_AddObject(module, "VERSION", version);
}

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)