same funcionality as the music rocket

This commit is contained in:
tilman
2016-12-28 22:48:04 +01:00
parent 44bcf2942f
commit 6227639c6d
3 changed files with 121 additions and 114 deletions
+8
View File
@@ -39,6 +39,7 @@ sudo nano /boot/config.txt
# dtparam=act_led_trigger=none
# dtparam=act_led_activelow=off
# configure NTP
sudo apt install ntp
sudo /etc/init.d/ntp restart
sudo nano /etc/ntp.conf
@@ -52,10 +53,17 @@ sudo apt install lirc zbar-tools mc moc fswebcam python3 python-rpi.gpio python3
# PHAT DAC (https://learn.pimoroni.com/tutorial/phat/raspberry-pi-phat-dac-install)
curl -sS get.pimoroni.com/phatdac | bash
# check for errors
dmesg
# MP3-Test
mocp
sudo nano /etc/modprobe.d/alsa-base.conf
# Webcam-Auflösung bestimmen (http://askubuntu.com/questions/214977/how-can-i-find-out-the-supported-webcam-resolutions)
lsusb
lsusb -s 001:006 -v | egrep "Width|Height"
# Webcam-Test
python3 lighton.py
sudo fswebcam -r 320x240 -d /dev/video0 -v ~/test.jpg