Search found 1 match

by franck_cern
13 Jun 2024, 14:44
Forum: Software
Topic: Revpi compact unreg method
Replies: 1
Views: 2838

Revpi compact unreg method

Hello,
I've got a Revpi compact.
On my system, I've got to count some events on a digital input.
for that, I've used reg_event() method. After a count of 10, I want to unregister this event.

Here is the "reg_event" code:

def fan_event_start(self):
global fan_time
fan_time = time.time()
self ...