File tree Expand file tree Collapse file tree 3 files changed +251
-76
lines changed Expand file tree Collapse file tree 3 files changed +251
-76
lines changed Original file line number Diff line number Diff line change 16
16
17
17
#define USE_PWM_FILL 1
18
18
19
+ #define USE_PURGE 1
20
+
19
21
#define USE_HEATER 1
20
22
21
23
#define EVENT_ENABLE_MASK 0b1
22
24
23
25
#if USE_VENT
24
26
#define VENT_NAME "VENT"
25
- #define VENT_PIN 8
27
+ #define VENT_PIN 13
26
28
#define VENT_OPEN 1
27
29
#define VENT_CLOSE 0
28
30
#define VENT_SAFE 1
32
34
#if USE_IGNITER
33
35
#define IGNITER_NAME "IGNITER"
34
36
#define IGNITER_PIN 12
35
- #define IGNITER_ON 1
36
- #define IGNITER_OFF 0
37
+ #define IGNITER_ON 0
38
+ #define IGNITER_OFF 1
37
39
#define IGNITER_EVENT_ENABLE_MASK 0b100
38
40
#endif
39
41
46
48
#define MAIN_POTENTIOMETER_PIN 0
47
49
#define MAIN_MOTOR_POWER 255
48
50
#define MAIN_OPEN 0
49
- #define MAIN_IGNITION 400
51
+ #define MAIN_IGNITION_BURN 400
50
52
#define MAIN_CLOSE 1023
51
53
#define MAIN_EVENT_ENABLE_MASK 0b1000
52
54
#endif
71
73
#define FILL_SOFTPWM true
72
74
#endif
73
75
76
+ #if USE_PURGE
77
+ #define PURGE_NAME "PURGE"
78
+ #define PURGE_PIN 3
79
+ #define PURGE_OPEN 180
80
+ #define PURGE_CLOSE 0
81
+ #define PURGE_SAFE 0
82
+ #define PURGE_EVENT_ENABLE_MASK 0b1000000
83
+ #define PURGE_SOFTPWM true
84
+ #endif
85
+
74
86
#if USE_HEATER
75
87
#define HEATER_NAME "HEATER"
76
88
#define HEATER_PIN 7
You can’t perform that action at this time.
0 commit comments