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

Updating the Readme to add a note regarding one callback per pin

This commit is contained in:
Robert Wolterman
2017-03-06 17:53:34 -06:00
parent 4da0812acd
commit f32733bb07
2 changed files with 3 additions and 3 deletions

View File

@ -240,7 +240,7 @@ Detecting events::
if GPIO.event_detected("XIO-P0"):
print "event detected!"
CHIP_IO can also handle adding callback functions on any pin that supports edge detection.::
CHIP_IO can also handle adding callback functions on any pin that supports edge detection. Note that only one callback function can be specified per Pin, if you try to set more, an exception will be thrown.::
def mycallback(channel):
print("we hit the edge we want")

4
debian/files vendored
View File

@ -1,2 +1,2 @@
python-chip-io_0.5.4-1_armhf.deb python optional
python3-chip-io_0.5.4-1_armhf.deb python optional
python-chip-io_0.5.5-1_armhf.deb python optional
python3-chip-io_0.5.5-1_armhf.deb python optional