-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDecoder.config
More file actions
110 lines (85 loc) · 2.34 KB
/
Decoder.config
File metadata and controls
110 lines (85 loc) · 2.34 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#------------------------------------------
# User preferences
#------------------------------------------
# enables a DHT11 temp/humidity sensor. If false CPU still logged.
DHT11_ENABLE=False
# set how often the temps will be measured and recorded
DHT11_TIME=600
# To use a wired GPIO input set this = 1, else set to 0 for Polled PTT status
WIRED_PTT=1
#----------------------
# This is a dummy value waiting for coding
#-----------------------
# sets the gpio pin number for the install script to use in /boot/firmware/config.txt
DHT11_PIN=14
# --------------------------------
# Enter the model radio to get the right band assignments
# Choices are IC705, IC905, or IC-9700
# --------------------------------
RADIO_MODEL=IC705
# --------------------------------
# IC-9700 Only
# 1 = Use main band only for Band Relays
# 0 = Switch Band relays to Sub Band in RX, then to MAIN band in TX (crossband split)
# --------------------------------
MAIN_TX = 1
# --------------------------------
# list of all band and ptt pin assignments, patterns and inversions
# --------------------------------
BAND_0=0x01
PTT_0=0x01
BAND_1=0x02
PTT_1=0x01
BAND_2=0x01
PTT_2=0x01
BAND_3=0x00
PTT_3=0x01
BAND_4=0x01
PTT_4=0x01
BAND_5=0x02
PTT_5=0x01
# ---------------------------------
# One or more pins may be mapped to one band so they are simply numbered
# ---------------------------------
# 3-Relay HAT
GPIO_BAND_0_PIN=26
GPIO_BAND_0_PIN_INVERT=True
#4-relay HAT
#GPIO_BAND_0_PIN=5
#GPIO_BAND_0_PIN_INVERT=False
GPIO_PTT_0_PIN=21
GPIO_PTT_0_PIN_INVERT=True
# 3-Relay HAT
GPIO_BAND_1_PIN=20
GPIO_BAND_1_PIN_INVERT=True
#4-relay HAT
#GPIO_BAND_1_PIN=6
#GPIO_BAND_1_PIN_INVERT=False
GPIO_PTT_1_PIN=12
GPIO_PTT_1_PIN_INVERT=True
# 3-Relay HAT
#GPIO_BAND_2_PIN=21
GPIO_BAND_2_PIN=12
GPIO_BAND_2_PIN_INVERT=True
#4-relay HAT
#GPIO_BAND_2_PIN=13
#GPIO_BAND_2_PIN_INVERT=False
GPIO_PTT_2_PIN=12
GPIO_PTT_2_PIN_INVERT=True
GPIO_BAND_3_PIN=12
GPIO_BAND_3_PIN_INVERT=False
GPIO_PTT_3_PIN=12
GPIO_PTT_3_PIN_INVERT=True
GPIO_BAND_4_PIN=12
GPIO_BAND_4_PIN_INVERT=False
GPIO_PTT_4_PIN=12
GPIO_PTT_4_PIN_INVERT=True
GPIO_BAND_5_PIN=12
GPIO_BAND_5_PIN_INVERT=False
GPIO_PTT_5_PIN=12
GPIO_PTT_5_PIN_INVERT=True
# ---------------------------------
# This is the pin assigned to monitor a wired PTT input from the radio
# ---------------------------------
GPIO_PTT_IN_PIN=16
GPIO_PTT_IN_PIN_INVERT=True