Go to advanced search

by smalldragoon
Tue Oct 03, 2017 4:47 pm
Forum: Python
Topic: GPIOZero - 2 fonction for same GPIO ?
Replies: 17
Views: 3661

Re: GPIOZero - 2 fonction for same GPIO ?

Thx !
by smalldragoon
Mon Oct 02, 2017 2:07 pm
Forum: Python
Topic: GPIOZero - 2 fonction for same GPIO ?
Replies: 17
Views: 3661

Re: GPIOZero - 2 fonction for same GPIO ? [ SOLVED ]

HI Thanks to all, specially to CyberGyver ! Obvisouly, the active_time is not a such usefull parameter... but at least I understand that everybody get it to none ;-) Regarding the solution, I coded badly my value storage but with the code shared, works lovely ! Thx a lot again ! [ Edit] @ thagrol : ...
by smalldragoon
Fri Sep 29, 2017 2:45 pm
Forum: Python
Topic: GPIOZero - 2 fonction for same GPIO ?
Replies: 17
Views: 3661

Re: GPIOZero - 2 fonction for same GPIO ?

Hello All, I still don't get it, sorry searched on official document from GPIOZero : The length of time (in seconds) that the device has been active for. When the device is inactive, this is "none" -> my undestanding is that when the button is released, value is set back to none So, I tried to defin...
by smalldragoon
Wed Sep 27, 2017 7:56 am
Forum: Python
Topic: GPIOZero - 2 fonction for same GPIO ?
Replies: 17
Views: 3661

Re: GPIOZero - 2 fonction for same GPIO ?

Hi
From my understanding, there is no output as the code is not able to calculate the time , no ?
by smalldragoon
Mon Sep 25, 2017 3:27 pm
Forum: Python
Topic: GPIOZero - 2 fonction for same GPIO ?
Replies: 17
Views: 3661

Re: GPIOZero - 2 fonction for same GPIO ?

Hello All, Thanks for all the answers ! I did a lot of tests before re-posting ... I tried to do few tests and seems that I have an issue in my GPIOZERO here is the status : I'm using python3 ( ie: python3 {name of my script} ) I indeed run it as root I though to a failure of my GPIO, so tried again...
by smalldragoon
Mon Sep 18, 2017 4:16 pm
Forum: Python
Topic: GPIOZero - 2 fonction for same GPIO ?
Replies: 17
Views: 3661

GPIOZero - 2 fonction for same GPIO ?

Hello ! I'm a new user of Raspberry and I'm now playing with the GPIOZero library. So far so good, when I try to use 4 different pin to simulate 4 arrow keys with buttons, everything works properly. Now, I would like to use as well 2 of the pins keeping them old let's say for 1 sec . first , I'm alr...

Go to advanced search