-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables-example.h
28 lines (23 loc) · 1.13 KB
/
variables-example.h
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
/*
* Different wiring schemes exist for different versions of the phone.
* Exactly one of the two following needs to be uncommented
*/
#define ESCAPE_ROOM_TIME // Uncomment this line for the wiring of the phone that is not portable
// #define PORTABLE_GAME // Uncomment this line for the portable phone wiring
/*
* Comment the following line when ready
* for production. Makes the code run faster!
*/
#define DEBUG
/***************************************************************************************
* Constant values changing the behavior of the phone system
**************************************************************************************/
// How long is sound played after button press (milliseconds)
const int min_button_playback_duration = 300;
// How long do we pause the entire system after sending command to MP3 player?
// (Increase this value if starting/stopping MP3 files sometimes does not register)
const int delay_after_mp3_send = 30;
// Playback volume of sound files
int volume = 15;
// Time to wait after registring button press (avoids registring one button press twice)
const int button_debounce_time = 10;