Skip to content

Commit 2629469

Browse files
committed
Initiële bestanden voor MakeCode-project
1 parent 4459494 commit 2629469

12 files changed

Lines changed: 171 additions & 0 deletions

File tree

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["ms-edu.pxt-vscode-web"]
3+
}

.vscode/settings.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"editor.formatOnType": true,
3+
"files.autoSave": "afterDelay",
4+
"files.watcherExclude": {
5+
"**/.git/objects/**": true,
6+
"**/built/**": true,
7+
"**/node_modules/**": true,
8+
"**/yotta_modules/**": true,
9+
"**/yotta_targets": true,
10+
"**/pxt_modules/**": true,
11+
"**/.pxt/**": true
12+
},
13+
"files.associations": {
14+
"*.blocks": "html",
15+
"*.jres": "json"
16+
},
17+
"search.exclude": {
18+
"**/built": true,
19+
"**/node_modules": true,
20+
"**/yotta_modules": true,
21+
"**/yotta_targets": true,
22+
"**/pxt_modules": true,
23+
"**/.pxt": true
24+
},
25+
"files.exclude": {
26+
"**/pxt_modules": true,
27+
"**/.pxt": true
28+
}
29+
}

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages', group: :jekyll_plugins

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
all: deploy
2+
3+
build:
4+
pxt build
5+
6+
deploy:
7+
pxt deploy
8+
9+
test:
10+
pxt test

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
> Open deze pagina op [https://roboracemsw.github.io/remotecontrolmapping/](https://roboracemsw.github.io/remotecontrolmapping/)
3+
4+
## Gebruiken als extensie
5+
6+
Deze repository kan worden toegevoegd als **extensie** in MakeCode.
7+
8+
* open [https://makecode.microbit.org/](https://makecode.microbit.org/)
9+
* klik op **Nieuw project**
10+
* klik op **Extensies** onder het tandwielmenu
11+
* zoeken naar **https://github.com/roboracemsw/remotecontrolmapping** en importeren
12+
13+
## Dit project bewerken
14+
15+
Om deze repository te bewerken in MakeCode.
16+
17+
* open [https://makecode.microbit.org/](https://makecode.microbit.org/)
18+
* klik op **Importeren** en klik vervolgens op **Importeer URL**
19+
* plak **https://github.com/roboracemsw/remotecontrolmapping** en klik op importeren
20+
21+
#### Metadata (gebruikt voor zoeken, rendering)
22+
23+
* for PXT/microbit
24+
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>

_config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
makecode:
2+
target: microbit
3+
platform: microbit
4+
home_url: https://makecode.microbit.org/
5+
theme: jekyll-theme-slate
6+
include:
7+
- assets
8+
- README.md

_history

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

main.blocks

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="z]cy4iP1XZF1@P#2}fZ*">een</variable><variable id="Ay4tou)b=3}0XW%XbqVT">twee</variable><variable id="UzgCPPj-~@{_*c$E!suY">drie</variable><variable id="HdAd;Kwn]sCkXGn@UCK=">vier</variable><variable id="]V,`lt@_$q!kSa43umJ8">vijf</variable><variable id="C#9O7M)`.vP+ndpYLhl,">zes</variable><variable id=",3xx;iSa^R+f8BxV(m=t">zeven</variable><variable id="/{r4spnZ0./a,4+fYvPl">acht</variable><variable id="GQKB_nFMxEnOye:(d*as">negen</variable><variable id="`gvP]#KyE4?Ein%A7f!U">nul</variable><variable id="Qi+jJR3nW]Q7WJ|@gMmA">ster</variable><variable id="j@Rt~tGf;)wnWAraNsZx">hekje</variable><variable id="LQSEa6YIVl|}Nz^gob(X">ok</variable><variable id="r06V[`Nf$ahf@2oV#{F5">op</variable><variable id="jt8ExYswRoN:pZ?pqz8*">neer</variable><variable id="T~@VPm7@IW@+J^.=3Nj%">links</variable><variable id="2Py8Zo)m!({yne$4r9[=">rechts</variable></variables><block type="pxt-on-start" id="ymTux-}-Q^q|uvpn9Nj+" x="0" y="0"></block><block type="device_forever" id="a^s-$$Esu$-MtaLCSLEh" x="205" y="0"></block><block type="function_definition" id="F@A9iwrWZhi48qo-.#M{" collapsed="true" x="15" y="130"><mutation name="init_HX1838" functionid="Q]hLraW{Fq#P:F6fk}q6"><arg name="initialiseer IR variabelen" id="OHy-1%x.a;nU4L|.8**l" type="string"></arg></mutation><field name="function_name">init_HX1838</field><value name="OHy-1%x.a;nU4L|.8**l"><block type="argument_reporter_string" id=")nw,aGV+cID/DJ3RPr+q" deletable="false"><field name="VALUE">initialiseer IR variabelen</field></block></value><statement name="STACK"><block type="variables_set" id="R_*]AhF.YHwYC/`um(@I"><field name="VAR" id="`gvP]#KyE4?Ein%A7f!U">nul</field><value name="VALUE"><shadow type="math_number" id="NviL1/@[ZiN2id=wS%TP"><field name="NUM">25</field></shadow></value><next><block type="variables_set" id="?zKfBe5|:8[[)51GP}jQ"><field name="VAR" id="z]cy4iP1XZF1@P#2}fZ*">een</field><value name="VALUE"><shadow type="math_number" id="3?4aNeYL2iM!B_m/x3WW"><field name="NUM">93</field></shadow></value><next><block type="variables_set" id="tSz#,s2*_GqvJ0BC4YAa"><field name="VAR" id="Ay4tou)b=3}0XW%XbqVT">twee</field><value name="VALUE"><shadow type="math_number" id="s*H.V[^W=YtjS+6P(Z2="><field name="NUM">157</field></shadow></value><next><block type="variables_set" id="?N%v/bbBgLD2FiB2Pu6D"><field name="VAR" id="UzgCPPj-~@{_*c$E!suY">drie</field><value name="VALUE"><shadow type="math_number" id=".jZhbDw}bTYu;[O_mH,+"><field name="NUM">29</field></shadow></value><next><block type="variables_set" id="9Rg_05F`Zf(V,DRe)}Hn"><field name="VAR" id="HdAd;Kwn]sCkXGn@UCK=">vier</field><value name="VALUE"><shadow type="math_number" id="SJ%t`Z)CU(-9Nmx]mFzC"><field name="NUM">221</field></shadow></value><next><block type="variables_set" id="vT)z3BI](-%ZID|]L$Ec"><field name="VAR" id="]V,`lt@_$q!kSa43umJ8">vijf</field><value name="VALUE"><shadow type="math_number" id="C8OL0HqV[N`8WPPZ[jk]"><field name="NUM">253</field></shadow></value><next><block type="variables_set" id="(oK.)KOkkr.?y3u}-=Z("><field name="VAR" id="C#9O7M)`.vP+ndpYLhl,">zes</field><value name="VALUE"><shadow type="math_number" id="hI6p?*1V0xf8pfC:94Ea"><field name="NUM">61</field></shadow></value><next><block type="variables_set" id="4.5.71w@@r:QI8s(Zp|("><field name="VAR" id=",3xx;iSa^R+f8BxV(m=t">zeven</field><value name="VALUE"><shadow type="math_number" id="jx+^XwF#}ZCGd-ScO}5p"><field name="NUM">31</field></shadow></value><next><block type="variables_set" id="ZY{C!?~kz_]k0KEg+A4*"><field name="VAR" id="/{r4spnZ0./a,4+fYvPl">acht</field><value name="VALUE"><shadow type="math_number" id="yv5c20CrWAQSWrCV^=t("><field name="NUM">21</field></shadow></value><next><block type="variables_set" id="}f.c/F3z*#OptEd/GYs*"><field name="VAR" id="GQKB_nFMxEnOye:(d*as">negen</field><value name="VALUE"><shadow type="math_number" id="(dB_:`16@g|oDP~CK^_2"><field name="NUM">9</field></shadow></value><next><block type="variables_set" id="?H_yLYrX.tpRplPS,Nx/"><field name="VAR" id="r06V[`Nf$ahf@2oV#{F5">op</field><value name="VALUE"><shadow type="math_number" id="@?FmBbiUBJ+{1=}i,T#L"><field name="NUM">24</field></shadow></value><next><block type="variables_set" id=");s78qZhPnM92LfL{gWI"><field name="VAR" id="jt8ExYswRoN:pZ?pqz8*">neer</field><value name="VALUE"><shadow type="math_number" id="XqMxNDCMerY27()?WZHK"><field name="NUM">181</field></shadow></value><next><block type="variables_set" id="w*DUt%Uer~-%#|J:xR43"><field name="VAR" id="T~@VPm7@IW@+J^.=3Nj%">links</field><value name="VALUE"><shadow type="math_number" id="|:EAv8DaW7O7Gh{7F87f"><field name="NUM">8</field></shadow></value><next><block type="variables_set" id="fg(^6~f,Y`sxV+SgVqvV"><field name="VAR" id="2Py8Zo)m!({yne$4r9[=">rechts</field><value name="VALUE"><shadow type="math_number" id="t`_Lb9KvQWF=_pVIU7%x"><field name="NUM">165</field></shadow></value><next><block type="variables_set" id="pMLSbZs9K1q28}T$gA`B"><field name="VAR" id="LQSEa6YIVl|}Nz^gob(X">ok</field><value name="VALUE"><shadow type="math_number" id="Efs1]:m?f`@?#*hCBW$J"><field name="NUM">199</field></shadow></value><next><block type="variables_set" id="Wd^c}-dUAQ({#aNI1ih9"><field name="VAR" id="Qi+jJR3nW]Q7WJ|@gMmA">ster</field><value name="VALUE"><shadow type="math_number" id="}8X3)1h!O49DoB1ukkBO"><field name="NUM">22</field></shadow></value><next><block type="variables_set" id="U`ZE[^rs8$o4nJ|2lZy|"><field name="VAR" id="j@Rt~tGf;)wnWAraNsZx">hekje</field><value name="VALUE"><shadow type="math_number" id="qB[1rpTRJlgpEo7nM)OL"><field name="NUM">13</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="(S^q32qU]xx93c#Gu#y}" collapsed="true" x="365" y="130"><mutation name="init_Keyestudio" functionid="O3B9?o##u1!5B7i5fW+;"><arg name="initialiseer IR variabelen" id="OHy-1%x.a;nU4L|.8**l" type="string"></arg></mutation><field name="function_name">init_Keyestudio</field><value name="OHy-1%x.a;nU4L|.8**l"><block type="argument_reporter_string" id="9-Baeu7rTy[24S%1h{Y?" deletable="false"><field name="VALUE">initialiseer IR variabelen</field><data>{"commentRefs":[],"fieldData":{"~commentOffsetX":"16","~commentOffsetY":"16"}}</data></block></value><statement name="STACK"><block type="variables_set" id="G`/C{sxvJ!sx3I1|jd5i"><field name="VAR" id="`gvP]#KyE4?Ein%A7f!U">nul</field><value name="VALUE"><shadow type="math_number" id="-mx^cN/7nc}qvzone}}P"><field name="NUM">181</field></shadow></value><next><block type="variables_set" id="Qyleg|:{Ftzch.TUHUa4"><field name="VAR" id="z]cy4iP1XZF1@P#2}fZ*">een</field><value name="VALUE"><shadow type="math_number" id="laY8y(#7+hOl:Jd6IG(S"><field name="NUM">22</field></shadow></value><next><block type="variables_set" id=".gF*lMOf,x7ECMpon{pu"><field name="VAR" id="Ay4tou)b=3}0XW%XbqVT">twee</field><value name="VALUE"><shadow type="math_number" id="x.57kO[:0qmHo2gx)@1^"><field name="NUM">25</field></shadow></value><next><block type="variables_set" id="77%W51sPUcXj=)Z;WQTj"><field name="VAR" id="UzgCPPj-~@{_*c$E!suY">drie</field><value name="VALUE"><shadow type="math_number" id="$atA!cS$U47/Ed#uJq#`"><field name="NUM">13</field></shadow></value><next><block type="variables_set" id="Thn7*wuvn@4Yj5SP$cU1"><field name="VAR" id="HdAd;Kwn]sCkXGn@UCK=">vier</field><value name="VALUE"><shadow type="math_number" id="p=:aBXRTFhNQ$yOPv?7|"><field name="NUM">12</field></shadow></value><next><block type="variables_set" id=":Z=I#.{l/$yIZ_*~pova"><field name="VAR" id="]V,`lt@_$q!kSa43umJ8">vijf</field><value name="VALUE"><shadow type="math_number" id="uU!q4}?aR+uPdu+(!#;F"><field name="NUM">24</field></shadow></value><next><block type="variables_set" id="GOT0*y*i,Pd*-c.QHx{l"><field name="VAR" id="C#9O7M)`.vP+ndpYLhl,">zes</field><value name="VALUE"><shadow type="math_number" id="?F0xgWW[SYDp@~7j,D0/"><field name="NUM">133</field></shadow></value><next><block type="variables_set" id="2F8N8|+$v_2.G3Q*4Sds"><field name="VAR" id=",3xx;iSa^R+f8BxV(m=t">zeven</field><value name="VALUE"><shadow type="math_number" id="oil|1/Fo*jN#t(ue{L2_"><field name="NUM">8</field></shadow></value><next><block type="variables_set" id="hu)LW5G=-#KlKT~+]Z,n"><field name="VAR" id="/{r4spnZ0./a,4+fYvPl">acht</field><value name="VALUE"><shadow type="math_number" id="WyXO=-uTsgvRfZc*^]{G"><field name="NUM">199</field></shadow></value><next><block type="variables_set" id="=gcQtOL34`7y~,uCczVL"><field name="VAR" id="GQKB_nFMxEnOye:(d*as">negen</field><value name="VALUE"><shadow type="math_number" id="*hej**/B]0+^+GD0qyL$"><field name="NUM">165</field></shadow></value><next><block type="variables_set" id="J*PjK:8mll66BQ/8A$8w"><field name="VAR" id="r06V[`Nf$ahf@2oV#{F5">op</field><value name="VALUE"><shadow type="math_number" id="7=bqov5y@patVZx];t!U"><field name="NUM">157</field></shadow></value><next><block type="variables_set" id="j%L?ALs[vu%f.#_2;X!O"><field name="VAR" id="jt8ExYswRoN:pZ?pqz8*">neer</field><value name="VALUE"><shadow type="math_number" id="FIMxB-i_[oj;%QRbPqg9"><field name="NUM">21</field></shadow></value><next><block type="variables_set" id="n=AhQ`rczKel@$N1/Gp!"><field name="VAR" id="T~@VPm7@IW@+J^.=3Nj%">links</field><value name="VALUE"><shadow type="math_number" id="y6%@BE@_K_*^{;~NGK%)"><field name="NUM">221</field></shadow></value><next><block type="variables_set" id=",_n/UHK{V5=988f~(rk-"><field name="VAR" id="2Py8Zo)m!({yne$4r9[=">rechts</field><value name="VALUE"><shadow type="math_number" id="s*sS}6Px;h(|/(BVuc._"><field name="NUM">61</field></shadow></value><next><block type="variables_set" id="jnRAJP@*7:~@+#-,7T{P"><field name="VAR" id="LQSEa6YIVl|}Nz^gob(X">ok</field><value name="VALUE"><shadow type="math_number" id="!q|yfpdV|1Mx!cld:$Qw"><field name="NUM">253</field></shadow></value><next><block type="variables_set" id="$RFtC8Or)z?;S5A6~TR`"><field name="VAR" id="Qi+jJR3nW]Q7WJ|@gMmA">ster</field><value name="VALUE"><shadow type="math_number" id="h(w#9nLvu568Jk9-NsY9"><field name="NUM">189</field></shadow></value><next><block type="variables_set" id="SYwoP*lnj#Rl=QtU$0ii"><field name="VAR" id="j@Rt~tGf;)wnWAraNsZx">hekje</field><value name="VALUE"><shadow type="math_number" id="W.~Iq4/MY*FbO*iihEFJ"><field name="NUM">173</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>

main.ts

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
let nul = 0
2+
let een = 0
3+
let twee = 0
4+
let drie = 0
5+
let vier = 0
6+
let vijf = 0
7+
let zes = 0
8+
let zeven = 0
9+
let acht = 0
10+
let negen = 0
11+
let op = 0
12+
let neer = 0
13+
let links = 0
14+
let rechts = 0
15+
let ok = 0
16+
let ster = 0
17+
let hekje = 0
18+
function init_HX1838 (initialiseer_IR_variabelen: string) {
19+
nul = 25
20+
een = 93
21+
twee = 157
22+
drie = 29
23+
vier = 221
24+
vijf = 253
25+
zes = 61
26+
zeven = 31
27+
acht = 21
28+
negen = 9
29+
op = 24
30+
neer = 181
31+
links = 8
32+
rechts = 165
33+
ok = 199
34+
ster = 22
35+
hekje = 13
36+
}
37+
function init_Keyestudio (initialiseer_IR_variabelen: string) {
38+
nul = 181
39+
een = 22
40+
twee = 25
41+
drie = 13
42+
vier = 12
43+
vijf = 24
44+
zes = 133
45+
zeven = 8
46+
acht = 199
47+
negen = 165
48+
op = 157
49+
neer = 21
50+
links = 221
51+
rechts = 61
52+
ok = 253
53+
ster = 189
54+
hekje = 173
55+
}
56+
basic.forever(function () {
57+
58+
})

pxt.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "RemoteControlMapping",
3+
"description": "",
4+
"dependencies": {
5+
"core": "*",
6+
"radio": "*",
7+
"microphone": "*"
8+
},
9+
"files": [
10+
"main.blocks",
11+
"main.ts",
12+
"README.md"
13+
],
14+
"testFiles": [
15+
"test.ts"
16+
],
17+
"targetVersions": {
18+
"target": "8.0.16",
19+
"targetId": "microbit"
20+
},
21+
"supportedTargets": [
22+
"microbit"
23+
],
24+
"preferredEditor": "blocksprj"
25+
}

0 commit comments

Comments
 (0)