Liontron Systems
                                            Liontron Systems
                                        
                                    IndentationError: unexpected indent Indentation refers to the spaces at the beginning of a code line. Where in other programming languages the indentation in code is for readability only, the indentation...
> Thanks Python is not my friend I think. > > Now the errors gone. How can I change the Button from cative HIGH to active LOW? GPIO.setup(channel, GPIO.IN, pull_up_down=GPIO.PUD_UP)...
Hi What is happening? What are you excepting and want to happen? Post your entire test file after all your changes. Show your wiring diagram. regards
Hi 1. If you using a push button to Gnd with the internal pull up resistor the commented out line #GPIO.setup(channel, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) needs to be changed to GPIO.setup(channel, GPIO.IN,...
Hi Yes it works here, all modes internal and external resistor , Active high and active low. I get the failure mode you describe if resistor is missing in external...
Hi I am using Raspberry PI 3 model b Raspbian , Debian 12 bookworm OS, , 64 bit. kernel : aarch64 Linux 6.1.0-rpi7-rpi-v8 RPI.GPIO version 0.7.1a4 python 3.11.2 Maybe its...
Hi Any update?
Hi The first problem where the function in example file was out of scope, when commented back in, was corrected in commit number 4ba2fd6. The second problem is most likely...
Hi RPi.GPIO library will not work with Raspberry pi 5 due to changes in how it handles the peripheral access. I must try and figure out if RPI.GPIO is going...