JackOfAll wrote: 
> Friendly advice..... Bite the bullet, use wiringPi and let Gordon worry
> about addresses and new models...... Tell Steen and Greg that they need
> to package the lib! ;)
> 
> > 
Code:
--------------------
  >   > 
  > #include <wiringPi.h>
  > 
  > int initialized = -1;
  > 
  > void relay( int state) {
  > if (initialized == -1) {
  > wiringPiSetup () ;
  > pinMode (18, OUTPUT) ;
  >     initialized = 1;
  > }
  > 
  > digitalWrite (18, state) ;
  > }
  > 
--------------------
> > 

Thanks JackOfAll.

We will look into migrating to the wiringPi library. I will link the
static version of wiringPi to squeezelite, so there's no need for a tcz
package for pcp.

paul- wrote: 
> I'll get ralphy the patch.

Received and a new build 1.8.3-715 is available for download from the
pcp webgui.



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=105018

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to