if($lastswitch == -1) { [download]
In reply to Re: Implementing a 2-mode "Audiobutton" on the Raspberry Pi by holli in thread Implementing a 2-mode "Audiobutton" on the Raspberry Pi by cavac