Hello,
Is there a way to activate the internal pull up resistors for gpio on the raspberry (original image) version
if i check /sys/class/gpio/gpio17 the file active_low has 0 in it so the input should be up.....
Thanks
gpio internal pull up
- GGGss
- Posts: 3052
- Joined: Mon Sep 12, 2016 7:15 pm
- Location: Belgium
- Real Name: Fredje Gallon
Did you define the direction of the GPIO port? in / out?
Code: Select all
echo out > /sys/class/gpio/gpio18/direction
All electric machines work on smoke... when the smoke escapes... they don't work anymore
-
- Posts: 12
- Joined: Sat Jan 09, 2021 11:01 am
- Real Name: han sommen
thanks for your suggestion, it gives No such file or directory but on gpio17 there is nothing responced
in qlc i can configure pin 17 as input so i did that, for this time i placed 10k resistor as pull-up so my show is running. I made this show in a compiled version of qlc + wiring-pi but the startup time was too long and i decided to use the original image file (€15) and there is no access to gpio in terminal
in qlc i can configure pin 17 as input so i did that, for this time i placed 10k resistor as pull-up so my show is running. I made this show in a compiled version of qlc + wiring-pi but the startup time was too long and i decided to use the original image file (€15) and there is no access to gpio in terminal
- mcallegari
- Posts: 4710
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
- GGGss
- Posts: 3052
- Joined: Mon Sep 12, 2016 7:15 pm
- Location: Belgium
- Real Name: Fredje Gallon
Just keep in mind that QLC+ reacts on a rising edge signal on the GPIO. So you need 2 edges to switch from a zero to a one and back to zero. (Or you use a Schmidt trigger circuitry.)
All electric machines work on smoke... when the smoke escapes... they don't work anymore