Erik Sjödin wrote: > I am trying to add some normaly open push buttons to my piCorePlayer to > control play, pause, skip track and so on. > > When I push the button for pause I want to send the pause LMS command > using the controls.cgi script: > > Code: -------------------- > > track_next) > pcp_lms_next > ;; > track_prev) > pcp_lms_prev > ;; > play) > pcp_lms_play > ;; > pause) > pcp_lms_pause > ;; > -------------------- > > > Can anyone help me with how I can detect a change on GPIO pins using > the piCorePlayer dist? > > Thanx in advance.
Hi Erik Sjödin, Here's some information to ponder. This is not a complete solution but I think there is enough info to proceed with your project. regards Greg +-------------------------------------------------------------------+ |Filename: button.sh.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=17727| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=97803
_______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix