Counter per minute to tracked a gpio

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Franzel007
Normal user
Posts: 12
Joined: 01 Aug 2021, 16:18

Counter per minute to tracked a gpio

#1 Post by Franzel007 » 05 Mar 2023, 22:01

Hihi,
I would like to count how long the gpio is switched on when switching a gpio.
The time in minutes should be stored in a variable.
Can you please give me an example?

Franzel

User avatar
Ath
Normal user
Posts: 3481
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Counter per minute to tracked a gpio

#2 Post by Ath » 05 Mar 2023, 22:13

Please check this thread: viewtopic.php?t=9146 where we are doing nearly the same, except we're logging the Hours (minutes / 60).
/Ton (PayPal.me)

bidrohini
Normal user
Posts: 105
Joined: 03 Nov 2022, 16:24

Re: Counter per minute to tracked a gpio

#3 Post by bidrohini » 06 Mar 2023, 08:53

Also this document may help you a bit:
https://espeasy.readthedocs.io/en/lates ... /P003.html

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests