-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.h
61 lines (52 loc) · 1.03 KB
/
conf.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
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
55
56
57
58
59
60
61
/* File conf.h */
#ifndef CONF
#define CONF
//Bluetooth App
#define BLUETOOTHDELAY 5UL
// Status LED
#define LEDDELAY 1000UL
// Dispenser
#define SENSEDELAY 10UL
#define MOTORDELAY 10UL
#define SERVODELAY 1UL
#define SERVOSTOP 700UL
#define SERVOSTEP 1
#define SERVOMIN 25
#define SERVOMAX 135
#define MAXBTLS 10
#define BTLS_EEPROM_ADR 0
// LCD
//#define SETUP_LCD
#define LCDDELAY 100UL
#define DRAWDELAY 1000UL
#define LCDWIDTH 20
#define LCDHEIGHT 4
#define MAINSCRN 0
#define MAINMENU 1
#define SETBTLS 2
#define DISPBTLS 3
#define LEDBRGHT 4
#define PASSWORD "369"
#define PASSSTRT '#'
#define PASSLEN 3
#define PASSACPT 'Y'
#define PASSDENY 'N'
#define SELECT '>'
#define MAXINT 999
// Keypad
#define KEYDELAY 100UL
#define KEYROW 5
#define KEYCOL 4
#define NOKEY ' '
// LED Strips
#define LEDSDELAY 10UL
#define LEDPATTERNS 3
#define BLNKDELAY 150UL
#define RAINBOWSPEED 1
#define FADESPEED 2
#define DONEFLASH 7000UL
// Buttons
#define BUTTONDELAY 10UL
#define LONGBUTTONDELAY 5000UL
#define SHORTBUTTONDELAY 2000UL
#endif /* !CONF */