-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparameters.py
54 lines (33 loc) · 980 Bytes
/
parameters.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Parameters used by main.py
# Pin setup
# =========
# IR sensor pin
SENSOR_PIN = 27
# Delays
# ======
# How many seconds between queries of the tripwire?
DETECTOR_DELAY = 1
# For how many seconds should the tripwire be allowed to settle?
SETTLETIME = 0.01
# How many seconds between Tweeted pictures?
PHOTO_DELAY = 60
# Camera setup
# ============
# How many pictures to take in a row when a detection event has taken place?
PHOTO_BURST = 3
# Should the picture be rotated when it's taken?
# The value of this parameter should be one of the legal input values for
# picamera.PiCamera.rotation, or None.
PHOTO_ROTATE = 180
# Twitter integration
# ===================
# Should the photos be tweeted (True or False)?
TWEET = False
# Drobox integration
# ==================
# Should the photos be uploaded to Dropbox (True or False)?
DBOX = True
# Flickr integration
# ==================
# Should the photos be uploaded to Flickr (True or False)?
FLICKR = False