|
def | _tally (self, event, tick) |
|
A class to provide event callbacks.
Definition at line 1236 of file pigpio.py.
def pigpio._event.__init__ |
( |
|
self, |
|
|
|
notify, |
|
|
|
event, |
|
|
|
func = None |
|
) |
| |
Initialise an event and adds it to the notification thread.
Definition at line 1239 of file pigpio.py.
def pigpio._event._tally |
( |
|
self, |
|
|
|
event, |
|
|
|
tick |
|
) |
| |
|
private |
Increment the event callback called count.
Definition at line 1258 of file pigpio.py.
def pigpio._event.cancel |
( |
|
self | ) |
|
Cancels a event callback by removing it from the
notification thread.
Definition at line 1251 of file pigpio.py.
def pigpio._event.reset_tally |
( |
|
self | ) |
|
Resets the tally count to zero.
Definition at line 1275 of file pigpio.py.
def pigpio._event.tally |
( |
|
self | ) |
|
Provides a count of how many times the default tally
callback has triggered.
The count will be zero if the user has supplied their own
callback function.
Definition at line 1265 of file pigpio.py.
The documentation for this class was generated from the following file: