Skip to content

Commit

Permalink
Updating the Readme to add a note regarding one callback per pin
Browse files Browse the repository at this point in the history
  • Loading branch information
xtacocorex committed Mar 6, 2017
1 parent 4da0812 commit f32733b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions debian/files
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f32733b

Please sign in to comment.