Found my problem.... Hardware wiring issue. Thanks
Latest posts made by danlevrai
-
RE: Momentary Power-button with LED?
-
RE: Momentary Power-button with LED?
Hi, I am new to this forum and I am really dumb with linux. I built a recalbox project recently. I installed a momentary push button switch to put the system in sleep mode as per instructions and love it. Now, I want to install a "RUN" led. I read here that it is possible by modifying the rpi-pin356-power.py file. I did it as explained and rebooted the system. The led turns ON only during the time the button is pressed and turn OFF when I release the button like if it would be configured as a ON/OFF switch. I modified recalbox.conf file to enable "system.power.switch=PIN356ONOFFRESET". It gave me the same result. The LED negative is connected to ground and the positive is on pin 8 (GPIO14) through a 150 ohms resistor. I really don't know what I am doing wrong.
Thank for your help.
PS: Excuse my poor english
Daniel from Quebec Canada