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:
@ -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
4
debian/files
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user