-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFishLight.mc3
196 lines (196 loc) · 22.8 KB
/
FishLight.mc3
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<config configName="default" projectName="FishLight" configVersion="1.1" device="PIC16F18114" deviceLibraryClass="com.microchip.mcc.melody.Library" coreVersion="5.6.1">
<usedPackages class="java.util.ArrayList">
<package packageName="@mchp-mcc/main-manager" version="3.1.1" contentType="MELODY">
<modules class="java.util.ArrayList"/>
</package>
<package packageName="@mchp-mcc/pic-8bit" version="5.26.0" contentType="MELODY">
<modules class="java.util.ArrayList"/>
</package>
<package packageName="@mchp-mcc/pic16-configuration-bits-v3" version="1.0.4" contentType="MELODY">
<modules class="java.util.ArrayList"/>
</package>
<package packageName="@mchp-mcc/pic16-pin-manager" version="3.5.1" contentType="MELODY">
<modules class="java.util.ArrayList"/>
</package>
<package packageName="@mchp-mcc/pin-content-processor" version="3.8.0" contentType="MELODY">
<modules class="java.util.ArrayList"/>
</package>
<package packageName="@mchp-mcc/scf-pic8-interrupt-v2" version="5.2.11" contentType="MELODY">
<modules class="java.util.ArrayList"/>
</package>
<package packageName="@mchp-mcc/scf-pic8-osc-v1" version="4.3.5" contentType="MELODY">
<modules class="java.util.ArrayList"/>
</package>
<package packageName="@mchp-mcc/scf-pic8-pwm-v1" version="4.1.9" contentType="MELODY">
<modules class="java.util.ArrayList"/>
</package>
<package packageName="@mchp-mcc/scf-pic8-tmr0-v1" version="4.0.11" contentType="MELODY">
<modules class="java.util.ArrayList"/>
</package>
</usedPackages>
<usedClasses class="java.util.TreeMap">
<entry>
<string>Application Builder</string>
<string>class com.microchip.mcc.melody.module.FrameworkModule</string>
</entry>
<entry>
<string>CLOCK CONTROL</string>
<string>class com.microchip.mcc.melody.hw.module.HardwareModule</string>
</entry>
<entry>
<string>Configuration Bits</string>
<string>class com.microchip.mcc.melody.hw.module.HardwareModule</string>
</entry>
<entry>
<string>INTERRUPT MANAGER</string>
<string>class com.microchip.mcc.melody.hw.module.HardwareModule</string>
</entry>
<entry>
<string>MAIN MANAGER</string>
<string>class com.microchip.mcc.melody.hw.module.HardwareModule</string>
</entry>
<entry>
<string>PWM1_16BIT</string>
<string>class com.microchip.mcc.melody.hw.module.HardwareModule</string>
</entry>
<entry>
<string>PWM2_16BIT</string>
<string>class com.microchip.mcc.melody.hw.module.HardwareModule</string>
</entry>
<entry>
<string>Pin Manager</string>
<string>class com.microchip.mcc.melody.hw.module.HardwareModule</string>
</entry>
<entry>
<string>TMR0</string>
<string>class com.microchip.mcc.melody.hw.module.HardwareModule</string>
</entry>
<entry>
<string>meta</string>
<string>class com.microchip.mcc.melody.hw.module.HardwareModule</string>
</entry>
<entry>
<string>module0</string>
<string>class com.microchip.mcc.melody.script.module.ScriptModule</string>
</entry>
<entry>
<string>module1</string>
<string>class com.microchip.mcc.melody.script.module.ScriptModule</string>
</entry>
<entry>
<string>module2</string>
<string>class com.microchip.mcc.melody.script.module.ScriptModule</string>
</entry>
<entry>
<string>module25</string>
<string>class com.microchip.mcc.melody.script.module.ScriptModule</string>
</entry>
<entry>
<string>module27</string>
<string>class com.microchip.mcc.melody.script.module.ScriptModule</string>
</entry>
<entry>
<string>module28</string>
<string>class com.microchip.mcc.melody.script.module.ScriptModule</string>
</entry>
<entry>
<string>module3</string>
<string>class com.microchip.mcc.melody.script.module.ScriptModule</string>
</entry>
<entry>
<string>module4</string>
<string>class com.microchip.mcc.melody.script.module.ScriptModule</string>
</entry>
<entry>
<string>module5</string>
<string>class com.microchip.mcc.melody.script.module.ScriptModule</string>
</entry>
</usedClasses>
<usedLibraries class="java.util.ArrayList">
<ILibraryFile class="com.microchip.mcc.core.library.BaseLibraryFile" libraryClass="com.microchip.mcc.melody.Library" version="2.6.4"/>
</usedLibraries>
<tokenMap class="java.util.TreeMap">
<entry>
<key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Application Builder" name="graph-location-data"/>
<value>{"mccDevice":{"loc":"0 0","pos":"0 0"},"systemGroup":{"loc":"365 -381.4796875","pos":"365 -381.4796875"},"module25":{"loc":"193.5 19.5","pos":"193.5 19.5"},"module28":{"loc":"193.5 -16.5","pos":"193.5 -16.5"},"module27":{"loc":"192.5 -51.5","pos":"192.5 -51.5"}}</value>
</entry>
<entry>
<key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Application Builder" name="state"/>
<value>{"userAddedModules":["module5","module4","module25","module28","module27","module1","module0","module3","module2"],"version":"CURRENT","modules":{"module5":{"scriptId":"@mchp-mcc/scf-pic8-osc-v1","imports":{"pin_standard":{"interfaceId":{"name":"pin-standard","version":"^0.1.0"},"handle":{"providerId":"module3","exportId":"pin-standard"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"scf_pic8_osc_v1":{"interfaceId":{"name":"scf-pic8-osc-v1","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"CLOCK CONTROL"}},"config_device":{"interfaceId":{"name":"config-device","version":"^1.1.1"},"handle":{"providerId":"module1","exportId":"config_device"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0.5.3"},"handle":{"providerId":"module1","exportId":"initializer_system"}},"config_request":{"interfaceId":{"name":"config-request","version":"^2.0.1"},"handle":{"providerId":"module1","exportId":"config_request"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"hardware":{"noscOsccon1":"HFINTOSC","hffrqOscfrq":"8_MHz"},"advanced":{"soscpwrOsccon3":"Low power","soscenOscen":false}}}},"module4":{"scriptId":"@mchp-mcc/scf-pic8-interrupt-v2","imports":{"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"scf_pic8_interrupt_v2":{"interfaceId":{"name":"scf-pic8-interrupt-v2","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"INTERRUPT MANAGER"}},"initializer_main":{"interfaceId":{"name":"initializer-main","version":"^0"},"handle":{"providerId":"module0","exportId":"initializer_main"}},"pin_standard":{"interfaceId":{"name":"pin-standard","version":"^0"},"handle":{"providerId":"module3","exportId":"pin-standard"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":[]}},"module25":{"scriptId":"@mchp-mcc/scf-pic8-tmr0-v1","imports":{"pin_standard":{"interfaceId":{"name":"pin-standard","version":"^0"},"handle":{"providerId":"module3","exportId":"pin-standard"}},"scf_pic8_tmr0_v1":{"interfaceId":{"name":"scf-pic8-tmr0-v1","version":"^1.0.0"},"handle":{"providerId":"mccDevice","exportId":"TMR0"}},"interrupt_standard":{"interfaceId":{"name":"interrupt-standard","version":"^1"},"handle":{"providerId":"module4","exportId":"interrupt"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"osc_clocks":{"interfaceId":{"name":"osc-clocks","version":"^0"},"handle":{"providerId":"module5","exportId":"osc_clocks"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"hardware":{"t0csT0con1":"LFINTOSC","t016bitT0con0":"16-bit","reqperiod":0.1,"t0outpsT0con0":"1:1","t0ckpsT0con1":"1:1"},"interrupt":{"tmri":true}}}},"module28":{"scriptId":"@mchp-mcc/scf-pic8-pwm-v1","imports":{"pin_standard":{"interfaceId":{"name":"pin-standard","version":"^0.1.0"},"handle":{"providerId":"module3","exportId":"pin-standard"}},"scf_pic8_pwm_v1":{"interfaceId":{"name":"scf-pic8-pwm-v1","version":"^1.0.0"},"handle":{"providerId":"mccDevice","exportId":"PWM2_16BIT"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"interrupt_standard":{"interfaceId":{"name":"interrupt-standard","version":"^1.0.1"},"handle":{"providerId":"module4","exportId":"interrupt"}},"osc_clocks":{"interfaceId":{"name":"osc-clocks","version":"^0.2.0"},"handle":{"providerId":"module5","exportId":"osc_clocks"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0.5.3"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"hardware":{"pwmcprePwmcpre":"Prescale by 2"}}}},"module27":{"scriptId":"@mchp-mcc/scf-pic8-pwm-v1","imports":{"pin_standard":{"interfaceId":{"name":"pin-standard","version":"^0.1.0"},"handle":{"providerId":"module3","exportId":"pin-standard"}},"scf_pic8_pwm_v1":{"interfaceId":{"name":"scf-pic8-pwm-v1","version":"^1.0.0"},"handle":{"providerId":"mccDevice","exportId":"PWM1_16BIT"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"interrupt_standard":{"interfaceId":{"name":"interrupt-standard","version":"^1.0.1"},"handle":{"providerId":"module4","exportId":"interrupt"}},"osc_clocks":{"interfaceId":{"name":"osc-clocks","version":"^0.2.0"},"handle":{"providerId":"module5","exportId":"osc_clocks"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0.5.3"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"hardware":{"pwmcprePwmcpre":"Prescale by 2"}}}},"module1":{"scriptId":"@mchp-mcc/pic16-configuration-bits-v3","imports":{"device_meta":{"interfaceId":{"name":"device-meta","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"pic16_configuration_bits_v3":{"interfaceId":{"name":"pic16-configuration-bits-v3","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"Configuration Bits"}},"initializer_main":{"interfaceId":{"name":"initializer-main","version":"^0"},"handle":{"providerId":"module0","exportId":"initializer_main"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"CONFIG1":{"clkoutenConfig1":"CLKOUT function is disabled; i/o or oscillator function on OSC2","rstoscConfig1":"HFINTOSC (16 MHz)","fextoscConfig1":"Oscillator not enabled"}}}},"module0":{"scriptId":"@mchp-mcc/main-manager","imports":{"main":{"interfaceId":{"name":"main-manager","version":"^1.*"},"handle":{"providerId":"mccDevice","exportId":"MAIN MANAGER"}}},"framewSpecificState":{"userEditedImports":[]}},"module3":{"scriptId":"@mchp-mcc/pin-content-processor","imports":{"device-meta":{"interfaceId":{"name":"device-meta","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"pin-architecture":{"interfaceId":{"name":"pin-architecture","version":"1.0.0"},"handle":{"providerId":"module2","exportId":"pin-architecture"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"saved":{"rows":{"module27":{"PWM1_16BIT$PWM1OUT1$output":{"pins":{"RA0":{"state":"L"}}},"PWM1_16BIT$PWM1OUT2$output":{"pins":{"RA1":{"state":"L"}}}},"module28":{"PWM2_16BIT$PWM2OUT1$output":{"pins":{"RA2":{"state":"L"}}},"PWM2_16BIT$PWM2OUT2$output":{"pins":{"RA4":{"state":"UL"}}}},"pcp":{"GPIO$GPIO$input":{"pins":{"RA5":{"state":"L"},"RA4":{"state":"MUL"}}},"GPIO$GPIO$output":{"pins":{"RA5":{"state":"MUL"},"RA4":{"state":"L"}}}}},"userEditedData":{"wpu":{"eview":{"RA5":true,"RA4":false,"RA2":false}},"ioc":{"eview":{"RA5":"negative"}},"high":{"eview":{"RA4":false,"RA0":true,"RA1":true,"RA2":true}}}}}},"module2":{"scriptId":"@mchp-mcc/pic16-pin-manager","imports":{"pic16-pin-manager":{"interfaceId":{"name":"pic16-pin-manager","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"Pin Manager"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0.*"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"adapterdata":{"wpu":{"eview":{"dataMap":{"RA5":{"value":true},"RA4":{"value":false},"RA2":{"value":false}}}},"ioc":{"eview":{"dataMap":{"RA5":{"value":"negative"}}}},"high":{"eview":{"dataMap":{"RA4":{"value":false},"RA0":{"value":true},"RA1":{"value":true},"RA2":{"value":true}}}}}}}},"content":{"@mchp-mcc/pic-8bit":"5.26.0","@mchp-mcc/pic16-pin-manager":"3.5.1","@mchp-mcc/pin-content-processor":"3.8.0","@mchp-mcc/pic16-configuration-bits-v3":"1.0.4","@mchp-mcc/scf-pic8-pwm-v1":"4.1.9","@mchp-mcc/scf-pic8-tmr0-v1":"4.0.11","@mchp-mcc/scf-pic8-interrupt-v2":"5.2.11","@mchp-mcc/scf-pic8-osc-v1":"4.3.5","@mchp-mcc/main-manager":"3.1.1"}}</value>
</entry>
</tokenMap>
<generatedFileHashHistoryMap class="java.util.TreeMap">
<entry>
<file>main.c</file>
<hash>9f7a9ee9174864acfff8de11d8b7598074ac47dba3ee2d455e3498fc7839c205</hash>
</entry>
<entry>
<file>mcc_generated_files/pwm/pwm1_16bit.h</file>
<hash>fa30ae95122214ea7f898d3db75a84c1e3944fb0c92216033fc803ce2f94077a</hash>
</entry>
<entry>
<file>mcc_generated_files/pwm/pwm2_16bit.h</file>
<hash>96520e0a56e981e39aadbb807d6d311b64855a4b8d56351ca43d10cabf03d76a</hash>
</entry>
<entry>
<file>mcc_generated_files/pwm/src/pwm1_16bit.c</file>
<hash>10d1475883f4f25a1bd17973598eddaf3b8213eb4d3f2de0aefab5c1b7b80a38</hash>
</entry>
<entry>
<file>mcc_generated_files/pwm/src/pwm2_16bit.c</file>
<hash>ad428dd7c4a75c6d8b5b49cc6b46a98329cab52def2021f5839867a7c8bdc3d0</hash>
</entry>
<entry>
<file>mcc_generated_files/system/clock.h</file>
<hash>fa57ebe296498ce092e7b3959e817b06e466835ade26ac2e60118da79e8eaed4</hash>
</entry>
<entry>
<file>mcc_generated_files/system/config_bits.h</file>
<hash>a90b50d40a79799167db54bc92ef3d8f992c4c0ce6d4c766457d280692765f41</hash>
</entry>
<entry>
<file>mcc_generated_files/system/interrupt.h</file>
<hash>17d1f7fd9ffe4fbbf95c5a61bf661b1346c10c7dd38b6aea88693a63540f698e</hash>
</entry>
<entry>
<file>mcc_generated_files/system/pins.h</file>
<hash>066532729d9c36c850794a125b5249318b0f6d6f6df5c85f8501723b0df66483</hash>
</entry>
<entry>
<file>mcc_generated_files/system/src/clock.c</file>
<hash>b6146a5f515b82070a1e5d049e5bf599c7100d6a8e1c4b295bc8e6d8a8217f1f</hash>
</entry>
<entry>
<file>mcc_generated_files/system/src/config_bits.c</file>
<hash>05238c12a4ee8af978ae3e1079e1d2ff6b7c1871b505199a7a5ce0a5e4b2d80b</hash>
</entry>
<entry>
<file>mcc_generated_files/system/src/interrupt.c</file>
<hash>163d4d418a95d259a639998c027b93e7a317ee321855e5f732a55f224e13ec8a</hash>
</entry>
<entry>
<file>mcc_generated_files/system/src/pins.c</file>
<hash>f08cccfe31037ad438946429434a29d0348c619a1280a6035166b083a0c93f55</hash>
</entry>
<entry>
<file>mcc_generated_files/system/src/system.c</file>
<hash>1908a4133f50516d3d248e8c840210c58af63dfbdc0ffbed108822b1e3a387c0</hash>
</entry>
<entry>
<file>mcc_generated_files/system/system.h</file>
<hash>88cb9e240a69d192bbc7e68149664e30ddc4c167c2bb201743ed3cafd8b3392a</hash>
</entry>
<entry>
<file>mcc_generated_files/timer/src/tmr0.c</file>
<hash>ab5f7ac8c63411389e3de396e89a8e2966734307540daa9795e2418e6b10cac7</hash>
</entry>
<entry>
<file>mcc_generated_files/timer/timer_interface.h</file>
<hash>a4d378f645d42fd44e09983310e5da2de850bc3c6b6e24152a1e3d3b5121f4a7</hash>
</entry>
<entry>
<file>mcc_generated_files/timer/tmr0.h</file>
<hash>0f2d050684c395665b3d9998a22117196edc39e086173e14855364cf7573a9b5</hash>
</entry>
</generatedFileHashHistoryMap>
</config>