Reinit of MIO GPIO Pulse count

Topics about the Software of Revolution Pi
Post Reply
Alexandre
Posts: 3
Joined: 20 Apr 2022, 15:41
Answers: 0

Reinit of MIO GPIO Pulse count

Post by Alexandre »

Hello.

I'm using the MIO GPIO to count pulses. It works well but I would like to reinit the register to 0 each time I read it.
Is there a way to do so ?
(I'm programming in Python but it doesn't matter much).

Thank you !
User avatar
RevPiModIO
KUNBUS
Posts: 322
Joined: 20 Jan 2017, 08:44
Answers: 0
Contact:

Re: Reinit of MIO GPIO Pulse count

Post by RevPiModIO »

Hi Alexandre!

Do you use revpimodio2 or do you manage the piControl yourself?
python3-RevPiModIO - https://revpimodio.org/ || Der RevPi ist das Beste, was passieren konnte!
Alexandre
Posts: 3
Joined: 20 Apr 2022, 15:41
Answers: 0

Re: Reinit of MIO GPIO Pulse count

Post by Alexandre »

Hello,

Thank you for your answer and sorry for late reply.

We use revpimodio2 from Python.
Do you know how to reinit the register for counting pulse ?

Thank you.
Alexandre
Posts: 3
Joined: 20 Apr 2022, 15:41
Answers: 0

Re: Reinit of MIO GPIO Pulse count

Post by Alexandre »

Hi.

We are still blocked regarding the MIO counter use and the need to reset it when it reach 10746 which seems to be the maximum.
Do you have any information about that ?

Thank you
u.biakoup
KUNBUS
Posts: 182
Joined: 14 Apr 2022, 13:04
Answers: 2

Re: Reinit of MIO GPIO Pulse count

Post by u.biakoup »

Hi Alexandre,

The counter can not be reset for MIO. This is only possible with DO/DIO modules.
The firmware in the MIO and the piBridge cannot do a reset.

To do this, you must change your device and either DO or DIO.

Best Regards

Ulrich Kouatang Biakoup | Technical Support
Post Reply