ralphy wrote: 
> I've added a test sbpd.tcz package to the beta files area for pcp 3.1x.
> 
> ssh to picoreplayer as tc user and run these commands.
> 
> > 
Code:
--------------------
  >   > pcp bu  # save pcp config
  > 
  > cd /mnt/mmcblk0p2/tce/optional
  > 
  > wget 
http://downloads.sourceforge.net/project/picoreplayer/beta/sbpd.tcz.md5.txt
  > 
  > wget http://downloads.sourceforge.net/project/picoreplayer/beta/sbpd.tcz
  > 
  > md5sum sbpd.tcz # make sure the file downloaded correctly
  > f0157164d10b86325b38fee0cb8d709e  sbpd.tcz
  > 
  > cat sbpd.tcz.md5.txt # does it match the line above?
  > f0157164d10b86325b38fee0cb8d709e  sbpd.tcz
  > 
  > echo "sbpd.tcz" >> /mnt/mmcblk0p2/tce/onboot.lst
  > 
  > pcp rb  # you must reboot!
  > 
--------------------
> > 
> 
> You can start /usr/local/sbin/sbpd at boot from the user commands in
> the the web gui.  Adding command line options as needed.


I tried this on a raspberry Zero W with Picoreplayer 3.11 (i think, need
to check this again).
It works great, with the right buttons/encoders:

I have on rotary encoder which just allows some turns in every direction
and has no physical feedback ( you can just turn it, without "stops" in
between) 

This on is not working.

Than i have one encoder which turns indefinitely, and this one works
great.

This has also 2 pins for the use as a button, and when connected to
ground and one BCMXX Gpio pin, it works also as eg, play/pause button. 

I have another button, i think you can find them as trigger /arcade
buttons on ebay (black plastic button perfectly sized for a finger ;-))
which is also recognized, but has problems with timing, which results in
random pause (If the button is pressed and is kept pressed, it  pauses
the music, but if the button is released, music starts again, same
result if pressed not short/fast enough)

I also tested a foil button (you know them from very cheap remotes) and
this one works to like the encoder one. 

So it seems the tools misses a debouncer, but pippin wrote something
like that in the first line of his first post > although for the latter someone 
should take the time to create a "hold"
> gesture detection for a button, something I didn't have the time for so
> far.

Because i dont know if i would be able to write this, has anybody a
suggestion for a button, which works like expected and does not need the
debouncing part?
If not, i would try to use the encoder button for play /pause and two
foil buttons for next and previous.... ( or even more of these encoders,
but use only the button functionality...)

But before i forget, thank you pippin! Great work.

Grüße

cubii


------------------------------------------------------------------------
cubii's Profile: http://forums.slimdevices.com/member.php?userid=66338
View this thread: http://forums.slimdevices.com/showthread.php?t=107001

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

Reply via email to