3 Dec 2016, 02:42

I was reading the basic switch info outlined here, where it talks about editing the .conf file:

"*system.power.switch=PIN56ONOFF for a latching switch
system.power.switch=PIN56PUSH for a momentary switch
*"

https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)

I had hoped to use a momentary switch, but have a couple questions.

  1. When using the switch/shutdown process outlined in the above article by editing the .conf file, does it do a safe/proper shutdown when the power button is pressed, or does it just turn the power to the Pi off and potentially cause corruption on the SD card?

  2. According to this article, an LED can be used, but it only mentions an LED being used when paired with a latched switch/reset button combo. Can an LED be used in combination with a momentary switch (with no reset button)?

Thanks in advance for any tips/advice!