-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDecoder.config
100 lines (76 loc) · 1.89 KB
/
Decoder.config
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
#------------------------------------------
# User settings
#------------------------------------------
# These are working values
# 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
#----------------------
# 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
# For the IC-9700 choose IC905
#
# --------------------------------
#RADIO_MODEL=IC905
RADIO_MODEL=IC705
# --------------------------------
# list of all band and ptt pin assignments, patterns and inversions
# --------------------------------
BAND_0=0x00
PTT_0=0x01
BAND_1=0x01
PTT_1=0x01
BAND_2=0x02
PTT_2=0x01
BAND_3=0x03
PTT_3=0x01
BAND_4=0x04
PTT_4=0x01
BAND_5=0x05
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=0
GPIO_PTT_0_PIN_INVERT=False
# 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=0
GPIO_PTT_1_PIN_INVERT=False
# 3-Relay HAT
GPIO_BAND_2_PIN=21
GPIO_BAND_2_PIN_INVERT=True
#4-relay HAT
#GPIO_BAND_2_PIN=13
#GPIO_BAND_2_PIN_INVERT=False
GPIO_PTT_2_PIN=0
GPIO_PTT_2_PIN_INVERT=False
GPIO_BAND_3_PIN=0
GPIO_BAND_3_PIN_INVERT=False
GPIO_PTT_3_PIN=0
GPIO_PTT_3_PIN_INVERT=False
GPIO_BAND_4_PIN=0
GPIO_BAND_4_PIN_INVERT=False
GPIO_PTT_4_PIN=0
GPIO_PTT_4_PIN_INVERT=False
GPIO_BAND_5_PIN=0
GPIO_BAND_5_PIN_INVERT=False
GPIO_PTT_5_PIN=0
GPIO_PTT_5_PIN_INVERT=False