Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-03-26 Thread Erik Sjdin
Greg Erskine wrote: 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 I have now managed to get this working. Thanx for your excelent support Greg. I will post pictures and

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-03-24 Thread Erik Sjdin
nietgiftig wrote: And the price of a resistor is? But then again, living on the edge... But I really hope you are not on the design team of one of my future electronics equipment . Usual they go bust just after the warranty expires. Someone left out a resistor to spare some money.

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-03-24 Thread Erik Sjdin
Greg Erskine wrote: hi Erik Sjödin, WARNING: You can destroy your Raspberry Pi playing around with the GPIOs if you do the wrong thing!!! Did you look at my circuit? It has resistors!! Very important. A lot of people advise using a transistor buffer for extra safety. For input

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-03-23 Thread Erik Sjdin
Greg Erskine wrote: 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 I have now looked in to the provided scripts(Button.sh). So for every GPIO in needed, if exported and

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-03-23 Thread Erik Sjdin
Erik Sjödin wrote: I have now looked in to the provided scripts(Button.sh). So for every GPIO in needed, if exported and direction defined: echo $PIN /sys/class/gpio/export echo in /sys/class/gpio/gpio$PIN/direction Is it then safe to assume that the value in

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-03-23 Thread Erik Sjdin
Greg Erskine wrote: Hi Erik Sjödin, Yes and yes. One is an example of an input and the other an output. There is a lot of examples on the internet on Raspberry Pi GPIO's but most of them talk about Python and/or wiringPi. We wanted to avoid loading any more modules or libraries. The

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-03-22 Thread Erik Sjdin
Greg Erskine wrote: 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 Thanx for your swift responce i will check tomorrow. Br Erik

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-03-21 Thread Erik Sjdin
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: track_next) pcp_lms_next ;; track_prev) pcp_lms_prev ;; play) pcp_lms_play ;;