same funcionality as the music rocket
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user