gtj wrote:
> Thank you so much for this! I'd rather not mess with Python if what I
> want to achieve is doable with the PcP.
> Just to clarify, should I wire up the momentary button on GPIO 22 and
> 17? Will it wake up the device aside from powering it down?
Hi,
In the thread I referred to, the GPIO pins in my case were imposed by
the board I was using (which is a DAC with included power switch
capabilities), so in PcP "tweaks" I had to set the GPIO pins with
respect to hardware configuration. Previous posts in the same threads
mention different GPIO pins. It depends on your wiring...
for your on/off switch, you have to chose pins:
- that are configurable (i.e. not a fixed ground or 5V pin!)
- that are not used by another function e.g. for sound
-
See pinout: https://www.raspberrypi.org/documentation/usage/gpio/
GPIO 17 and 22 are OK but they are not the only ones... I think the PcP
on/off functions work very well, you should get it to work quickly.
------------------------------------------------------------------------
truscellino's Profile: http://forums.slimdevices.com/member.php?userid=69928
View this thread: http://forums.slimdevices.com/showthread.php?t=112136
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix