-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
index.html
662 lines (662 loc) · 41 KB
/
index.html
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
<!DOCTYPE HTML>
<HTML>
<head>
<meta charset="utf-8">
<meta name="google" value="notranslate">
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>blocklyduino</title>
<link rel="icon" type="image/png" href="./blocklyduino/media/logo_only.png" />
<link rel="stylesheet" href="./css/font_awesome_all.min.css" />
<link rel="stylesheet" href="./css/keyboard_nav.css" />
<link rel="stylesheet" href="./css/lateral-panel.css" />
<link rel="stylesheet" href="./css/UI.css" />
<link rel="stylesheet" href="./blocklyduino/css/blocklyduino.css" />
<link rel="stylesheet" href="./blocklyduino/css/override_css.css" />
</head>
<body>
<div class="table_wrapper">
<table id="globalTable">
<tr id="optionsTop">
<td id="optionsTopTitle">
<img src="./blocklyduino/media/logo_only2.png" style="width: 25px; vertical-align: middle;" />
<span class="TitleText" id="appName"></span>
</td>
<!-- <span class="sketch_name_wrapper"> -->
<!-- <i class="mdi-image-edit sketch_name_icon active"></i> -->
<!-- <input id="sketch_name" class="sketch_name" type="text" size="10"> -->
<!-- </span> -->
<td id="optionsTopInteractiveHelp" class="tabMiddle">
<span id="content_hoverButton"></span>
</td>
</tr>
<tr id="functionsIcons">
<td colspan="2">
<button id="menuButton" class="iconButtons" onclick="document.getElementById('menuPopup').style.display = 'block';document.getElementById('menuButton').classList.toggle('active');">
<span id="menuButtonButton_span">
<i class="fas fa-ellipsis-v"></i>
</span>
</button>
<div id="menuPopup" class="popup_bckgrd" style="display:none" onclick="document.getElementById('menuPopup').style.display = 'none';document.getElementById('menuButton').classList.toggle('active');">
<div id="buttonsMenuPopup" class="menu_div">
<div id="buttonsMenuPopupInside">
<button id="newButton" class="iconButtons" onclick="Code.newProject()">
<span id="newButton_span"></span>
</button>
<span id="newButton_span_menu" class="menu_text"></span>
<br>
<button id="loadXMLfakeButton" class="iconButtons" onclick="Code.loadXmlBlocklyFile()">
<span id="loadXMLfakeButton_span"></span>
</button>
<span id="loadXMLfakeButton_span_menu" class="menu_text"></span>
<br>
<button id="saveXMLButton" class="iconButtons" onclick="Code.saveXmlBlocklyFile()">
<span id="saveXMLButton_span"></span>
</button>
<span id="saveXMLButton_span_menu" class="menu_text"></span>
<br>
<button id="saveCodeButton" class="iconButtons" onclick="Code.saveCodeFile()">
<span id="saveCodeButton_span"></span>
</button>
<span id="saveCodeButton_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="parametersButton" class="iconButtons" onclick="document.getElementById('lateral-panel-setup-input').click();">
<span id="parametersButton_span">
<i class="fas fa-cog"></i>
</span>
</button>
<span id="parametersButton_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="resetButton" class="iconButtons" onclick="Code.ResetWorkspace()">
<span id="resetButton_span">
<i class="fas fa-power-off"></i>
</span>
</button>
<span id="resetButton_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="helpButton" class="iconButtons" onclick="toggleDisplayHelpModal()">
<span id="helpButton_span">
<i class="fas fa-question"></i>
</span>
</button>
<span id="helpButton_span_menu" class="menu_text"></span>
</div>
</div>
</div>
<button id="fullScreenButton" class="iconButtons" onclick="fullScreen()">
<span id="fullScreenButton_span">
<i class="fas fa-expand-arrows-alt"></i>
</span>
</button>
<button id="undoButton" class="iconButtons" onclick="Code.Undo()">
<span id="undoButton_span">
<i class="fas fa-undo-alt"></i>
</span>
</button>
<button id="redoButton" class="iconButtons" onclick="Code.Redo()">
<span id="redoButton_span">
<i class="fas fa-redo-alt"></i>
</span>
</button>
<button id="toolsButton" class="iconButtons" onclick="document.getElementById('toolsPopup').style.display = 'block';document.getElementById('toolsButton').classList.toggle('active');">
<span id="toolsButton_span">
<i class="fas fa-toolbox"></i>
</span>
</button>
<div id="toolsPopup" class="popup_bckgrd" style="display:none" onclick="document.getElementById('toolsPopup').style.display = 'none';document.getElementById('toolsButton').classList.toggle('active');">
<div id="buttonsToolsPopup" class="menu_div">
<div id="buttonsToolsPopupInside">
<button id="wiringButton" class="iconButtons">
<span id="wiringButton_span">
<i class="fas fa-code-branch"></i>
</span>
</button>
<span id="wiringButton_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="factoryButton" class="iconButtons">
<span id="factoryButton_span">
<i class="fas fa-industry"></i>
</span>
</button>
<span id="factoryButton_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="htmlButton" class="iconButtons">
<span id="htmlButton_span">
<i class="fab fa-firefox-browser"></i>
</span>
</button>
<span id="htmlButton_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="colorConversionButton" class="iconButtons" onclick="">
<span id="colorConversionButton_span">
<i class="fas fa-swatchbook"></i>
</span>
</button>
<span id="colorConversionButton_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="dataConversionButton" class="iconButtons" onclick="">
<span id="dataConversionButton_span">
<i class="fas fa-exchange-alt"></i>
</span>
</button>
<span id="dataConversionButton_span_menu" class="menu_text"></span>
</div>
</div>
</div>
<button id="iotConnectButton" class="iconButtons" onclick="document.getElementById('iotPopup').style.display = 'block';document.getElementById('iotConnectButton').classList.toggle('active');">
<span id="iotConnectButton_span">
<i class="fas fa-link"></i>
</span>
</button>
<div id="iotPopup" class="popup_bckgrd" style="display:none" onclick="document.getElementById('iotPopup').style.display = 'none';document.getElementById('iotConnectButton').classList.toggle('active');">
<div id="buttonsIotPopup" class="menu_div">
<div id="buttonsIotPopupInside">
<button id="launchWebServer" class="iconButtons CLI">
<span id="launchWebServer_span">
<i class="fas fa-network-wired"></i>
</span>
</button>
<span id="launchWebServer_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="papyrusConnect" class="iconButtons CLI" onclick="papyrusConnect()">
<span id="papyrusConnect_span">
<img src="./blocklyduino/media/Eclipse_papyrus_logo.png" style="width: 30px; height: 30px; vertical-align: middle;"/>
</span>
</button>
<span id="papyrusConnect_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="registerToOrchestrator" class="iconButtons CLI" onclick="ArrowheadRegister()">
<span id="registerToOrchestrator_span">
<img src="./blocklyduino/media/arrowheadtools_invert.png" style="width: 30px; height: 30px; vertical-align: middle;"/>
</span>
</button>
<span id="registerToOrchestrator_span_menu" class="menu_text"></span>
<br>
<hr>
<button id="blynkConnect" class="iconButtons CLI" onclick="">
<span id="blynkConnect_span">
<img src="./blocklyduino/media/blynk.png" style="width: 30px; height: 30px; vertical-align: middle;"/>
</span>
</button>
<span id="blynkConnect_span_menu" class="menu_text"></span>
</div>
</div>
</div>
<button id="boardButton" class="iconButtons" onclick="Code.boardsListModalShow()">
<span id="boardButton_span">
<i class="fas fa-microchip"></i>
</span>
</button>
<button id="verifyButton" class="iconButtons" onclick="Code.verifyCodeFile()">
<span id="verifyButton_span">
<i class="fas fa-check"></i>
</span>
</button>
<button id="serialButton" class="iconButtons" onclick="Code.portsListModalShow()">
<span id="serialButton_span">
<i class="fab fa-usb"></i>
</span>
</button>
<button id="uploadButton" class="iconButtons" onclick="Code.uploadCodeFile()">
<span id="uploadButton_span">
<i class="fas fa-sign-out-alt"></i>
</span>
</button>
<button id="serialConnectButton" class="iconButtons">
<span id="serialConnectButton_span">
<i class="fas fa-search"></i>
</span>
</button>
</td>
</tr>
<tr id="globalWorkspace">
<td colspan="2">
<div class="content_wrapper">
<div id="wrapper_up" class="wrapper_up">
<div id="content_area">
<div id="content_blocks"></div>
</div>
<div id="separator">
<label id="editorReadOnlyToggle" class="switch">
<input type="checkbox" onclick="toggleEditorReadOnly(this)">
<span class="slider"></span>
</label>
</div>
<button id="copyCodeButton" class="iconButtons" onclick="Code.copyToClipboard()">
<span id="copyCodeButton_span">
<i class="far fa-copy"></i>
</span>
</button>
<div id="content_code"></div>
</div>
<div id="barre_h">
<div id="checkDetails">
<input type="checkbox" name="detailedCompilation" id="detailedCompilation"/>
<span id="detailedCompilation_span"> </span>
</div>
<div id="infoBoardPort">
<span id="boardSelected_span"> </span>
<span id="portSelected_span"> </span>
<button id="consoleOutsideButton" class="iconButtons" onclick="">
<span name="consoleOutside" id="consoleOutside_span">
<i class="fas fa-external-link-alt"></i>
</span>
</button>
</div>
</div>
<div id="content_serial"></div>
</div>
</td>
</tr>
</table>
</div>
<div id="helpModal" class="helpModal">
<div id="helpModal_header">
<span id="helpModalSpan_title"></span>
</div>
<div id="helpModal_text">
<span id="helpModalSpan_text"></span>
</div>
</div>
<div id="keyboard_nav">
<div id="keyboard_nav_header">
<span id="keyMappingModalSpan"></span>
</div>
<form id="keyboard_mappings"></form>
</div>
<div id="lateral-panel-setup">
<input id="lateral-panel-setup-input" type="checkbox">
<label id="lateral-panel-setup-label" for="lateral-panel-setup-input" class="label_panel">
<span id="setup_side_span">
<i class="fas fa-cog"></i>
</span>
</label>
<div id="lateral-panel-setup-bloc">
<button class="accordion">
<span id="config_UI_title_span" aria-expanded="false" aria-controls="accordion_setup_content"></span>
</button></button>
<div id="setup_content" class="side_content config_content panel">
<form id="options">
<select id="boardMenu" style='display:none'>
<option value="none" selected="selected">...</option>
<option value="arduino_leonardo">Arduino Leonardo</option>
<option value="arduino_mega">Arduino Mega</option>
<option value="arduino_micro">Arduino Micro</option>
<option value="arduino_mini">Arduino Mini</option>
<option value="arduino_nano">Arduino Nano</option>
<option value="arduino_pro8">Arduino Pro Mini 3.3V</option>
<option value="arduino_pro16">Arduino Pro Mini 5V</option>
<option value="arduino_uno">Arduino Uno</option>
<option value="arduino_yun">Arduino Yùn</option>
<option value="lilypad">LilyPad</option>
</select>
<br>
<span id="languageSpan" class="UIText">...</span>
<select id="languageMenu"></select>
<br>
<br>
<span id="interfaceColorSpan" class="UIText">...</span>
<select id="interfaceColorMenu">
<option value="arduino" selected="selected">blocklyduino2</option>
</select>
<br>
<span id="codeEditorColorSpan" class="UIText">...</span>
<select id="codeEditorColorMenu">
<option value="arduino" selected="selected">blocklyduino2</option>
</select>
<br>
<br>
<span id="themeSpan" class="UIText">...</span>
<select name="theme" onchange="changeTheme(this.value)">
<option value="classic" id="themeClassicSpan">classic</option>
<option value="modern" id="themeModernSpan">modern</option>
<option value="deuteranopia" id="themeDeuteranopiaSpan">deuteranopia</option>
<option value="tritanopia" id="themeTritanopiaSpan">tritanopia</option>
<option value="zelos" id="themeZelosSpan">zelos</option>
<option value="high_contrast" id="themeHighContrastSpan">high_contrast</option>
<option value="dark" id="themeDarkSpan">dark</option>
<option value="blackWhite" id="themeBwSpan">blackWhite</option>
</select>
<br>
<span id="renderSpan" class="UIText">...</span>
<select name="renderer" onchange="document.forms.options.submit('options')">
<option value="geras">Geras</option>
<option value="thrasos">Thrasos</option>
<option value="zelos">Zelos</option>
<option value="minimalist">Minimalist</option>
</select>
</form>
<br>
<span id="displaySpan" class="UIText">...</span>
<select name="displayChoice" onchange="">
<option value="button" id="displayChoiceButtons">buttons</option>
<option value="buttonText" id="displayChoiceBandT">buttons + text</option>
<option value="text" id="displayChoiceText">text</option>
</select>
<br>
<br>
<span id="fontSpan" class="UIText">...</span>
<select name="fontChoice" onchange="document.forms.options.submit('options')">
<option value="arial">Arial</option>
<option value="comics">Comic Sans MS</option>
<option value="luciole">Luciole</option>
<option value="opendyslexic">Open Dyslexic</option>
<option value="trebuchet">Trebuchet MS</option>
<option value="verdana">Verdana</option>
</select>
<br>
<span id="fontSizeSpan" class="UIText"></span>
<select id="rendering-constant-selector">
<option value="fontSizeBlocks" id="optionFontSizeBlocks" selected="selected">Blocks & Editor Font Size</option>
<option value="fontSizePage" id="optionFontSizePage">Page Font Size</option>
<option value="fontSpacingPage" id="optionFontSpacingPage">Page Font Spacing</option>
</select>
<br>
<input type="range" min="3" max="50" value="4" oninput="Code.changeRenderingConstant(this.value)" onchange="Code.changeRenderingConstant(this.value)" />
<br>
<br>
<input id="accessibilityModeCheck" type="checkbox" onclick="toggleAccessibilityMode(this.checked)">
<span id="accessibilitySpan" class="UIText"></span>
<br>
<input id="displayKeyMappings" type="checkbox" onclick="toggleDisplayKeyMappings(this.checked)">
<span id="keyMappingSpan" class="UIText"></span>
<br>
<select id="cursorChanger" name="cursor" onchange="changeCursor(this.value)">
<option value="default" id="defaultCursorSpan">default</option>
<option value="basic" id="basicCursorSpan">basic</option>
<option value="line" id="lineCursorSpan">line</option>
</select>
<br>
</div>
<button class="accordion">
<span id="CLI_title_span" aria-expanded="false" aria-controls="accordion_CLI_content"></span>
</button>
<div id="CLI_content" class="side_content config_content CLI panel">
<div id="configCLI">
<div id="CLI_title">
<button id="coreUpdateButton" class="iconButtons CLI" onclick="">
<span id="coreUpdateButton_span">
<i class="fas fa-sync"></i>
</span>
</button>
<button id="cleanCLIcacheButton" class="iconButtons CLI" onclick="">
<span id="cleanCLIcache_span">
<i class="fas fa-eraser"></i>
</span>
</button>
<button id="listBoardsButton" class="iconButtons CLI" onclick="">
<span id="listBoardsButton_span">
<i class="fas fa-list"></i>
</span>
</button>
<a href="https://arduino.github.io/arduino-cli/" id="CLI_githubLinkButton" target="_blank">
<img src="./blocklyduino/media/featured-CLI.png" style="height: 40px" />
</a>
</div>
<br>
<span id="installBoard_title_span" class="UIText CLI">install board</span>
<br>
<input type="text" class="controlPanelInput" id="installBoardsInput" name="installBoardsInput">
<button id="installBoardsButton" class="iconButtons CLI" onclick="">
<span id="installBoardsButton_span">
<i class="fas fa-cloud-download-alt"></i>
</span>
</button>
<br>
<br>
<span id="searchlLib_title_span" class="UIText">search library</span>
<br>
<input type="text" class="controlPanelInput" id="searchlLibInput" name="searchlLibInput">
<button id="searchlLibButton" class="iconButtons CLI" onclick="">
<span id="searchlLibButton_span">
<i class="fab fa-searchengin"></i>
</span>
</button>
<br>
<br>
<span id="installLib_title_span" class="UIText">install library</span>
<br>
<input type="text" class="controlPanelInput" id="installLibInput" name="installLibInput">
<button id="installLibButton" class="iconButtons CLI" onclick="">
<span id="installLibButton_span">
<i class="fas fa-cloud-download-alt"></i>
</span>
</button>
<br>
</div>
</div>
<button class="accordion">
<!-- <select name="toolbox" onchange="document.forms.options.submit('options')"> -->
<!-- <option value="categories">Categories (untyped variables)</option> -->
<!-- <option value="categories-typed-variables">Categories (typed variables)</option> -->
<!-- <option value="simple">Simple</option> -->
<!-- <option value="test-blocks">Test Blocks</option> -->
<!-- </select> -->
<span id="categories_title_span" aria-expanded="false" aria-controls="accordion_categories_content"></span>
</button>
<div id="categories_content" class="side_content config_content panel UIText">
</div>
<button class="accordion">
<span id="iot_title_span" aria-expanded="false" aria-controls="accordion_categories_content"></span>
</button>
<div id="arrowhead_controls" class="side_content config_content panel UIText">
<input type="text" class="controlPanelInput" id="launchWebServerInput" name="launchWebServerInput">
<button id="launchWebServer" class="iconButtons CLI">
<span id="launchWebServer_span">
<i class="fas fa-network-wired"></i>
</span>
</button>
<br>
<br>
<input type="text" class="controlPanelInput" id="papyrusConnectInput" name="papyrusConnectInput">
<button id="papyrusConnect" class="iconButtons CLI" onclick="papyrusConnect()">
<span id="papyrusConnect_span">
<img src="./blocklyduino/media/Eclipse_papyrus_logo.png" style="width: 30px; height: 30px; vertical-align: middle;"/>
</span>
</button>
<br>
<br>
<input type="text" class="controlPanelInput" id="arrowheadConnectInput" name="arrowheadConnectInput">
<button id="registerToOrchestrator" class="iconButtons CLI" onclick="ArrowheadRegister()">
<span id="registerToOrchestrator_span">
<img src="./blocklyduino/media/arrowheadtools_invert.png" style="width: 30px; height: 30px; vertical-align: middle;"/>
</span>
</button>
<br>
<br>
<input type="text" class="controlPanelInput" id="blynkConnectInput" name="blynkConnectInput">
<button id="blynkConnect" class="iconButtons CLI" onclick="">
<span id="blynkConnect_span">
<img src="./blocklyduino/media/blynk.png" style="width: 30px; height: 30px; vertical-align: middle;"/>
</span>
</button>
</div>
</div>
</div>
<div id="overlayForModals" class="overlay"></div>
<div id="boardListModal" class="modal">
<div class="modal-content">
<div class="modal-header">
<i class="fas fa-microchip"></i>
<span id="boardListModalHeader_span"></span>
<span class="closeModal" id="closeModalBoards">×</span>
</div>
<div class="modal-body">
<div id="board_mini_picture_div">
<img id="board_mini_picture" />
</div>
<div id="hideSelectScrollbar">
<select id="boardDescriptionSelector" size="11" onchange="Code.boardDescription()">
<optgroup label="C / C++">
<option value="none" >...</option>
<option value="arduino_leonardo">Arduino Léonardo</option>
<option value="arduino_mega">Arduino Mega</option>
<option value="arduino_micro">Arduino Micro</option>
<option value="arduino_mini">Arduino Mini</option>
<option value="arduino_nano">Arduino Nano</option>
<option value="arduino_pro8">Arduino Pro Mini 3.3V</option>
<option value="arduino_pro16">Arduino Pro Mini 5V</option>
<option value="arduino_uno">Arduino Uno</option>
<option value="arduino_yun">Arduino Yùn</option>
<option value="lilypad">LilyPad</option>
</optgroup>
</select>
</div>
</div>
<button id="boardListModalDialogOkay" onclick="Code.changeBoard()">✔</button>
<button type="button" class="collapsibleButton">
<span id="boardListModalButton_span">Details</span>
</button>
<div class="collapsibleContent" id="collapsibleContent">
<span id="boardModal_connect"></span><span id="boardModal_connect_span" class="modalBoard_info">...</span><br>
<span id="boardModal_voltage"></span><span id="boardModal_voltage_span" class="modalBoard_info">...</span><br>
<span id="boardModal_voltage_normal"></span><span id="boardModal_voltage_normal_span" class="modalBoard_info">...</span><br>
<span id="boardModal_voltage_maxi"></span><span id="boardModal_voltage_maxi_span" class="modalBoard_info">...</span><br>
<span id="boardModal_cpu"></span><span id="boardModal_cpu_span" class="modalBoard_info">...</span><br>
<span id="boardModal_speed"></span><span id="boardModal_speed_span" class="modalBoard_info">...</span><br>
<span id="boardModal_inout"></span><span id="boardModal_inout_span" class="modalBoard_info">...</span><br>
<span id="boardModal_in_analog"></span><span id="boardModal_in_analog_span" class="modalBoard_info">...</span><br>
<span id="boardModal_out_analog"></span><span id="boardModal_out_analog_span" class="modalBoard_info">...</span><br>
<span id="boardModal_i_max_out"></span><span id="boardModal_i_max_out_span" class="modalBoard_info">...</span><br>
<span id="boardModal_i_max3"></span><span id="boardModal_i_max3_span" class="modalBoard_info">...</span><br>
<span id="boardModal_i_max_5"></span><span id="boardModal_i_max_5_span" class="modalBoard_info">...</span><br>
<span id="boardModal_flash"></span><span id="boardModal_flash_span" class="modalBoard_info">...</span><br>
<span id="boardModal_sram"></span><span id="boardModal_sram_span" class="modalBoard_info">...</span><br>
<span id="boardModal_eeprom"></span><span id="boardModal_eeprom_span" class="modalBoard_info">...</span><br>
</div>
</div>
</div>
<div id="portListModal" class="modal">
<div class="modal-content">
<div class="modal-header">
<i class="fab fa-usb"></i>
<span id="portListModalHeader_span"></span>
<span class="closeModal" id="closeModalPorts">×</span>
</div>
<div class="modal-body" id="portListModalBody">
</div>
<div class="modal-footer">
<select id="serialMenu">
<option value="none">...</option>
</select>
<button id="portListModalDialogOkay" onclick="Code.setPort()">✔</button>
</div>
</div>
</div>
</body>
<!-- Blockly libraries -->
<script src="./@blockly/blockly_compressed.js"></script>
<script src="./@blockly/blocks_compressed.js"></script>
<script src="./@blockly/closure/goog/base.js"></script>
<!-- Blockly libraries for themes and renderers -->
<script src="./@blockly/core/workspace_comment.js" async></script>
<script src="./@blockly/core/workspace_comment_svg.js" async></script>
<script src="./@blockly/core/workspace_comment_render_svg.js" async></script>
<script src="./@blockly/core/renderers/minimalist/info.js" async></script>
<script src="./@blockly/core/renderers/minimalist/constants.js" async></script>
<script src="./@blockly/core/renderers/minimalist/drawer.js" async></script>
<script src="./@blockly/core/renderers/minimalist/renderer.js" async></script>
<script src="./@blockly/core/theme/modern.js" async></script>
<script src="./@blockly/core/theme/zelos.js" async></script>
<!-- Blockly libraries of function, from different demos -->
<script src="./@blockly/demos/code/code.js"></script>
<script src="./@blockly/demos/keyboard_nav/line_cursor.js" async></script>
<script src="./@blockly/tests/playgrounds/screenshot.js" async></script>
<!-- BlocklyDuino external toolbox hacked -->
<script src="./blocklyduino/toolbox/toolbox_arduino.json"></script>
<script src="./blocklyduino/toolbox/toolbox_ds18b20.json"></script>
<script src="./blocklyduino/toolbox/toolbox_grove.json"></script>
<script src="./blocklyduino/toolbox/toolbox_relay.json"></script>
<script src="./blocklyduino/toolbox/toolbox_servo.json"></script>
<script src="./blocklyduino/toolbox/toolbox_standard.json"></script>
<!-- Blockly libraries of function, hacked from different demos -->
<script src="./js/blockly/keyboard_nav.js"></script>
<script src="./js/blockly/playground.js"></script>
<script src="./js/init.js"></script>
<script src="./js/typed_variable.js"></script>
<script src="./js/buttons_functions.js"></script>
<script src="./js/dialog.js"></script>
<script src="./js/renderingConstant.js"></script>
<script src="./js/toolbox.js"></script>
<script src="./@blockly/demos/custom-dialogs/custom-dialog.js"></script>
<!-- blocklyduino libraries of external functions -->
<script src="./js/ace/ace.js" charset="utf-8"></script>
<script src="./js/ace/ext-language_tools.js"></script>
<!-- S4E libraries of specific funtions definition -->
<script src="./blocklyduino/js/override_toolbox.js"></script>
<!-- blocklyduino libraries of boards definition -->
<script src="./blocklyduino/js/boards.json"></script>
<script src="./blocklyduino/js/boards.js"></script>
<!-- blocklyduino specific: block design -->
<!-- <script src="./blocklyduino/blocks/blocks_colors.js" async></script> -->
<script src="./blocklyduino/blocks/board/board_base.js" async></script>
<script src="./blocklyduino/blocks/board/board_serial.js" async></script>
<script src="./blocklyduino/blocks/blockly/logic.js" async></script>
<script src="./blocklyduino/blocks/blockly/math.js" async></script>
<script src="./blocklyduino/blocks/ds18b20/ds18b20.js" async></script>
<script src="./blocklyduino/blocks/grove/grove.js" async></script>
<script src="./blocklyduino/blocks/relay/relay.js" async></script>
<script src="./blocklyduino/blocks/servo/servo.js" async></script>
<script src="./blocklyduino/blocks/typed_variable.js" async></script>
<!-- blocklyduino specific: common generator code -->
<script src="./generators/arduino_generator.js"></script>
<script src="./blocklyduino/arduino/blockly/colour.js" async></script>
<script src="./blocklyduino/arduino/blockly/lists.js" async></script>
<script src="./blocklyduino/arduino/blockly/logic.js" async></script>
<script src="./blocklyduino/arduino/blockly/loops.js" async></script>
<script src="./blocklyduino/arduino/blockly/math.js" async></script>
<script src="./blocklyduino/arduino/blockly/procedures.js" async></script>
<script src="./blocklyduino/arduino/blockly/text.js" async></script>
<!-- blocklyduino specific: addon generator code -->
<script src="./blocklyduino/arduino/board/board_base.js" async></script>
<script src="./blocklyduino/arduino/board/board_serial.js" async></script>
<script src="./blocklyduino/arduino/typed_variable.js" async></script>
<script src="./blocklyduino/arduino/addon/ds18b20.js" async></script>
<script src="./blocklyduino/arduino/addon/grove.js" async></script>
<script src="./blocklyduino/arduino/addon/relay.js" async></script>
<script src="./blocklyduino/arduino/addon/servo.js" async></script>
<!-- blocklyduino specific -->
<!-- Blockly themes added -->
<script src="./blocklyduino/themes/bw.js" async></script>
<script src="./blocklyduino/themes/themes_blocks.js" async></script>
<script src="./blocklyduino/themes/themes_categories.js" async></script>
<script src="./blocklyduino/themes/themes_components_override.js" async></script>
<script>
ace.require("ace/ext/language_tools");
var editor = ace.edit("content_code");
editor.setTheme("ace/theme/sqlserver");
editor.session.setMode("ace/mode/c_cpp");
editor.setShowPrintMargin(false);
editor.setOptions({
autoScrollEditorIntoView: false,
readOnly: false,
highlightGutterLine: true,
animatedScroll: true,
enableBasicAutocompletion: true,
enableSnippets: true,
enableLiveAutocompletion: true
});
editor.find('needle', {
backwards: false,
wrap: false,
caseSensitive: false,
wholeWord: false,
regExp: false
});
editor.findNext();
editor.findPrevious();
<!-- require('../CLI_functions.js'); -->
<!-- require('../IDE_functions.js'); -->
require('../resources/app.asar/CLI_functions.js');
require('../resources/app.asar/IDE_functions.js');
require('../nodejs/js/webServer.js');
</script>
</HTML>