![]() # contact: # original by Jack Barker: # """ # auto start # to make the script run automatically after booting up, edit the rc.local file: sudo nano /etc/rc.local at the end (but before the exit command) add this line: python /home/pi/EB-photo-booth/EB-pb.py & don't forget the & sign or else the Pi won't boot up but wait until the script is finished (which - normally - won't happen) # flashing or continuous arcade led # when the positive lead of the led of the arcade button is connected to pin 2 or 4 (5V) it will be on as long the Pi is powered when it is connected to pin 7 (or GPIO4, default setup) it will get 3.3V (so it is less bright) but it will perform flashing functions """ #Imports import datetime from time import sleep import os import time from PIL import Image import RPi.GPIO as GPIO import picamera from shutil import copy2 # Debug # These options allow you to run a quick test of the app. #!/bin/python # Raspberry PI powered Photo Booth # Last updated 20170902 by ericBcreator # This code is free for personal use, not for commercial purposes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |