tikismoke / domogik-plugin-rpigpio

GNU General Public License v3.0
0 stars 0 forks source link

do not read input every seconds #1

Open tikismoke opened 8 years ago

tikismoke commented 8 years ago

Use GPIO.add_event_detect(25, GPIO.BOTH, callback=my_callback) for either rising or falling edges.