GPIO rotary volume
-
@dh04000 just add what you'd usually tyoe on the command line say
python /path/to/script.py
-
@Substring Oh, that seems simple. Thank you.
I'l try it sometime this week/weekend and report how it went.
-
-
Complete success! The script starts up with the system now! Thanks for the help!
-
@dh04000
good news , may be to make a complete tutorial ? please -
Ok. What form should it be in? A google document, typed into this forum thread, a new forum thread, something else?
Also, how do I do those cool code windows?
-
@dh04000 @acris the articld could be written directly in the wiki?
https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN) -
In the wiki
-
@acris I'm still interested in writing a how-to use this script, but I don't know how to write to the wiki. Can I just send someone a google document with the how-to in it?
EDIT: Also @Substring once I wrote the how-to, would you mind checking it with your system since you also have a rotary encoder?
-
No problem make google docs and a modo add your document on wiki.
-
@dh04000 mine is not plugged hahaha
the wiki syntax is farily simple, you even have a WYSIWYG bar to edit
-
Done: https://docs.google.com/document/d/15gvyNhxF_knimoVxYE0X3E4Fe1n_DSU06Wli_QtnwxE/pub
@Substring @acris @lackyluuk It needs some minor editing work for the wiki. I put comments in blue on what needs to be done.
-
I started editing the wiki, but I'm not good at it.... Also, please test those copy/paste instructions. I haven't had a chance to try it on my machine yet.
-
-
Great !!! thanks a lot @dh04000
-
@acris It's not done. I don't know how to add the text box with the script. Also, I want to show how to increase the rate of volume change, and change min and max of the script in the tweaks section. Which I still have to write. Got to test it on my machine first. Also, I need someone to test my instructions and verify that it works as intended.
-
@dh04000 you add code in 2 ways (wirks the same on the forum :
- either as a "span"
lile this
between back quotes - either as a block
Like this
Between a pair of triple back quotes. But beware, you must start a new line after each triplet of back quotes. So my block above looks like :
3 back quotes without spaces
Like this
3 back quotes without spaces
Please note that on github you can specify which language is used in a code block. You just need to add the language name right after the opening triplet, say :
3 back quotes python
Like this
3 back quotesThe wiki langiage nme is known as markdown, and github has an advanced markdown for code
- either as a "span"
-
-
@dh04000 Added the python code. You can't do as in the source because it's a gist using several files
-
Thank you! Now all I have to do is to point out, in the Tweaks section, how to change the gpio, volume increments, and volume range in the script, and the guide is complete.