-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.h.sample
51 lines (36 loc) · 1.57 KB
/
constants.h.sample
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
// Pins used
#define LCD_PINS A5, A4, A3, A2, A1, A0
#define LCD_BACKLIGHT_PIN 13
#define KEYPAD_ROW_PINS 8, 7, 6, 5
#define KEYPAD_COL_PINS 4, 3, 2
// Message to display when booting
#define START_MESSAGE "Starting..."
// How long to display command results (in milliseconds)
#define SHOW_RESULTS_DELAY 5000
// Key definitions
#define KEY_DEFAULT_LABEL "Date & Time"
#define KEY_DEFAULT_COMMAND "date +'%l:%M%p %h %e'"
#define KEY_1_LABEL "Brown Ln to Loop"
#define KEY_1_COMMAND "python /root/scripts/cta_el.py '30282'"
#define KEY_2_LABEL "Brn Ln to Kimball"
#define KEY_2_COMMAND "python /root/scripts/cta_el.py '30281'"
#define KEY_3_LABEL KEY_DEFAULT_LABEL
#define KEY_3_COMMAND KEY_DEFAULT_COMMAND
#define KEY_4_LABEL "South 50 IrvPk"
#define KEY_4_COMMAND "python /root/scripts/cta_bus.py '50' '8827'"
#define KEY_5_LABEL "North 50 IrvPk"
#define KEY_5_COMMAND "python /root/scripts/cta_bus.py '50' '8951'"
#define KEY_6_LABEL KEY_DEFAULT_LABEL
#define KEY_6_COMMAND KEY_DEFAULT_COMMAND
#define KEY_7_LABEL "West 80 Wolcott"
#define KEY_7_COMMAND "python /root/scripts/cta_bus.py '80' '5686'"
#define KEY_8_LABEL "East 80 Wolcott"
#define KEY_8_COMMAND "python /root/scripts/cta_bus.py '80' '5661'"
#define KEY_9_LABEL "Magic 8 Ball"
#define KEY_9_COMMAND "python /root/scripts/magic_8.py"
#define KEY_STAR_LABEL "Weather"
#define KEY_STAR_COMMAND "python /root/scripts/weather.py current"
#define KEY_0_LABEL "Forecast"
#define KEY_0_COMMAND "python /root/scripts/weather.py forecast"
#define KEY_POUND_LABEL "Sunset"
#define KEY_POUND_COMMAND "python /root/scripts/weather.py sunset"