We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3262e2b commit ea9a555Copy full SHA for ea9a555
.gitignore
@@ -14,7 +14,6 @@ lib-fesm
14
fesm
15
umd
16
bundles
17
-docs
18
dist
19
20
## this is generated by `npm pack`
docs/quick-guide.md
@@ -0,0 +1,30 @@
1
+---
2
+layout: default
3
+title: Quick Guide
4
+nav_order: 2
5
6
+
7
+# Quick Guide
8
9
+## ES5 UMD Bundle
10
11
+```js
12
+var universalHex = microbitUh.createUniversalHex([
13
+ {
+ hex: intelHexString1,
+ boardId: 0x1,
+ },
+ hex: intelHexString2,
+ boardId: 0x2,
21
+]);
22
23
+if (microbitUh.isUniversalHex(intelHexStr)) {
24
+ var separatedBinaries = microbitUh.separateUniversalHex(intelHexStr);
25
+}
26
+separatedBinaries.forEach(function (hexObj) {
27
+ console.log(hexObj.boardId);
28
+ console.log(hexObj.hex);
29
+});
30
+```
0 commit comments