Greg Erskine wrote: > Hi Jeff07971, > > I think you have 3 choices: > > 1. If you look at your previous post with the GPIO script, you will see > the command to toggle "active_low" for the GPIO. > > 2. Use the -S command instead and write a script to do whatever you > want. > > 3. Ideally you should have a driver circuit on the GPIO to > isolate/buffer the GPIO from the outside world. This circuit could > invert the signal. > > regards > Greg
Hi Greg, Yes I posted the script that I use now (I did not write the original though) it works fine for me. The whole point of including this in squeezelite, as I see it, is NOT to have to write a script ! I use the script I posted at the moment but many who use PCP may not be able to and may not have the knowledge to transfer the script to PCP to be run by the -S switch. Why on earth would you build hardware to do this when it can be done in software ? The easiest way to turn a power amp (or any other mains powered device) is with an SSR (which has opto-isolation) but without inversion you can not do this with the -G switch. Sorry If I sound miffed, I do appreciate what you guys do but the -G switch at the moment is just daft. Jeff *Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezePlayer,PiCorePlayer x3,Wandboard *Server:* LMS Version: 7.9.0 - 1453293926 on Centos 7 VM on ESXi 6 on HP N54L *Plugins:* AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud *Remotes:* iPeng8/Orangesqueeze/PC/Jivelite *Music:* 383GB,1269 albums 17756 songs 4381 artists mostly FLACs *Want a webapp ?* See http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS ------------------------------------------------------------------------ Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290 View this thread: http://forums.slimdevices.com/showthread.php?t=105018 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix