forked from jamesfowkes/cryptology-phone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.xml
78 lines (63 loc) · 2.28 KB
/
application.xml
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
<?xml version="1.0"?>
<board type="Arduino Nano" name="Phone Interface">
<info>
An interface to a DTMF decoder and OGG player
for behaving like a "phone exchange"
</info>
<devices>
<device name="MT8870" type="MT8870">
<setting id="code_pins" name="" value="2,3,4,5"/>
<setting id="trigger_pin" name="" value="6"/>
</device>
<device name="HookInput" type="Debounced Input">
<setting id="pin" name="Input" value="A5"/>
<setting id="debounce_time" value="50"/>
<setting id="pullup" value="true"/>
</device>
<device name="MediaReset" type="Digital Output">
<setting id="pin" name="Output" value="7"/>
<setting id="startup_state" value="LOW"/>
</device>
<device name="GMStatusLED" type="Digital Output">
<setting id="pin" name="Output" value="A3"/>
<setting id="startup_state" value="LOW"/>
</device>
<device name="MediaTrigger" type="Digital Output" count="6">
<setting id="pin" name="Output" values="8|9|10|11|12|13"/>
<setting id="startup_state" all_values="HIGH"/>
</device>
<device name="GMInputs" type="Debounced Input" count="4">
<setting id="pin" name="Input" values="A0|A1|A2|A3"/>
<setting id="debounce_time" all_values="50"/>
<setting id="pullup" all_values="true"/>
</device>
</devices>
<parameters>
<parameter name="CorrectNumber" type="String">
<setting id="reset_value" value="00000000000"/>
<setting id="length" value="12"/>
<setting id="use_eeprom" value="true"/>
</parameter>
</parameters>
<libraries>
<library>SoftwareSerial</library>
</libraries>
<modules>
<module>Buffer</module>
<module>Task</module>
</modules>
<custom_code>
<file>application.cpp</file>
<file>media.cpp</file>
<file>media.h</file>
</custom_code>
<defines>
<define>N_DIGITS 32</define>
<define>MEDIA_TX 10</define>
<define>MEDIA_RX 11</define>
</defines>
<logging>
<log_module>APPLICATION</log_module>
</logging>
<raat protocol="url"></raat>
</board>