add step reboot to enable uart
This commit is contained in:
parent
1a2c6dca60
commit
41195b3cca
|
@ -26,14 +26,17 @@ After login (ssh) proceed with these steps:
|
||||||
11. `sudo chmod u+x /etc/rc.local`
|
11. `sudo chmod u+x /etc/rc.local`
|
||||||
12. `chmod u+x ~/bananenkeyboard/piconfig/readonly.sh`
|
12. `chmod u+x ~/bananenkeyboard/piconfig/readonly.sh`
|
||||||
13. `~/bananenkeyboard/piconfig/readonly.sh`
|
13. `~/bananenkeyboard/piconfig/readonly.sh`
|
||||||
|
14. `sudo reboot`
|
||||||
|
|
||||||
Start with
|
By copying the rc.local (step 10), the script will be started in a `screen` after reboot.
|
||||||
|
|
||||||
|
To start it manually type:
|
||||||
|
|
||||||
`cd ~/bananenkeyboard/Pi`
|
`cd ~/bananenkeyboard/Pi`
|
||||||
|
|
||||||
`python3 ./s.py`
|
`python3 ./s.py`
|
||||||
|
|
||||||
By copying the rc.local (step 10), the script will be started in a `screen` after reboot
|
|
||||||
|
|
||||||
# Convert and remove silence from samples:
|
# Convert and remove silence from samples:
|
||||||
`for file in *.mp3; do ffmpeg -i ${file} -af silenceremove=1:0:-30dB ${file/mp3/wav} -y; done`
|
`for file in *.mp3; do ffmpeg -i ${file} -af silenceremove=1:0:-30dB ${file/mp3/wav} -y; done`
|
||||||
|
|
Loading…
Reference in New Issue