pxt-common-packages 13.1.2 → 13.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libs/accelerometer/built/debug/binary.js +9 -10
- package/libs/azureiot/built/debug/binary.js +462 -497
- package/libs/cable/_locales/cable-strings.json +1 -0
- package/libs/color/built/debug/binary.js +9 -10
- package/libs/color-sensor/built/debug/binary.js +9 -10
- package/libs/controller/built/debug/binary.js +7349 -7898
- package/libs/controller---none/built/debug/binary.js +7329 -7876
- package/libs/core/built/debug/binary.js +1 -2
- package/libs/core---samd/built/debug/binary.js +9 -10
- package/libs/datalogger/built/debug/binary.js +64 -72
- package/libs/edge-connector/built/debug/binary.js +9 -10
- package/libs/esp32/built/debug/binary.js +463 -498
- package/libs/game/_locales/game-strings.json +8 -0
- package/libs/game/built/debug/binary.js +7268 -7812
- package/libs/gamepad/built/debug/binary.js +9 -10
- package/libs/infrared/_locales/infrared-strings.json +1 -0
- package/libs/keyboard/built/debug/binary.js +9 -10
- package/libs/lcd/built/debug/binary.js +9 -10
- package/libs/light/built/debug/binary.js +9 -10
- package/libs/light/defaultlights.ts +14 -14
- package/libs/light/docs/reference/light/animation.md +33 -0
- package/libs/light-spectrum-sensor/built/debug/binary.js +9 -10
- package/libs/lora/built/debug/binary.js +9 -10
- package/libs/matrix-keypad/built/debug/binary.js +9 -10
- package/libs/microphone/built/debug/binary.js +9 -10
- package/libs/mixer/melody.ts +2 -0
- package/libs/mouse/built/debug/binary.js +9 -10
- package/libs/mqtt/built/debug/binary.js +177 -193
- package/libs/music/built/debug/binary.js +9 -10
- package/libs/net/built/debug/binary.js +177 -193
- package/libs/net-game/built/debug/binary.js +8985 -9642
- package/libs/palette/built/debug/binary.js +7263 -7807
- package/libs/pixel/built/debug/binary.js +9 -10
- package/libs/power/built/debug/binary.js +9 -10
- package/libs/proximity/built/debug/binary.js +9 -10
- package/libs/pulse/built/debug/binary.js +9 -10
- package/libs/radio/_locales/radio-strings.json +5 -0
- package/libs/radio/built/debug/binary.js +9 -10
- package/libs/radio-broadcast/built/debug/binary.js +9 -10
- package/libs/rotary-encoder/built/debug/binary.js +9 -10
- package/libs/rotary-encoder/docs/reference/encoders/on-changed.md +29 -0
- package/libs/rotary-encoder/docs/reference/encoders/position.md +33 -0
- package/libs/rotary-encoder/rotary.cpp +2 -2
- package/libs/rotary-encoder/shims.d.ts +2 -2
- package/libs/screen/built/debug/binary.js +51 -58
- package/libs/servo/built/debug/binary.js +9 -10
- package/libs/sprite-scaling/built/debug/binary.js +7267 -7811
- package/libs/storyboard/built/debug/binary.js +7267 -7811
- package/libs/tests/built/debug/binary.js +16 -17
- package/libs/thermometer/built/debug/binary.js +9 -10
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2874 new=26.76% cached=0.00% other=73.24%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -85,7 +85,6 @@ function _main___P1_mk(s) {
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
90
|
return _main___P1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2901 new=27.09% cached=0.00% other=72.91%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P1857(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___2101 = (undefined);
|
|
70
|
+
globals._pollEventQueue___2114 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P1857.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"leveldetector.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P1857.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P1857_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P1857, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P1857
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=12129 new=73.87% cached=0.00% other=26.13%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -58,7 +58,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
58
58
|
const pxsim_numops = pxsim.numops;
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
function
|
|
61
|
+
function _main___P59019(s) {
|
|
62
62
|
let r0 = s.r0, step = s.pc;
|
|
63
63
|
s.pc = -1;
|
|
64
64
|
|
|
@@ -68,20 +68,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
68
68
|
switch (step) {
|
|
69
69
|
case 0:
|
|
70
70
|
|
|
71
|
-
globals.
|
|
72
|
-
globals.
|
|
71
|
+
globals._intervals___59263 = (undefined);
|
|
72
|
+
globals._pollEventQueue___59276 = (undefined);
|
|
73
73
|
r0 = pxsim.storage.init();
|
|
74
|
-
globals.
|
|
75
|
-
globals.
|
|
76
|
-
r0 = pxsim_pxtcore_mkClassInstance(
|
|
74
|
+
globals._headers___59481 = (undefined);
|
|
75
|
+
globals._row___59485 = (undefined);
|
|
76
|
+
r0 = pxsim_pxtcore_mkClassInstance(datalogger_FileStorage__C59512_VT);
|
|
77
77
|
s.tmp_0 = r0;
|
|
78
|
-
s.tmp_1 =
|
|
78
|
+
s.tmp_1 = datalogger_FileStorage_constructor__P59518_mk(s);
|
|
79
79
|
s.tmp_1.arg0 = s.tmp_0;
|
|
80
80
|
s.tmp_1.arg1 = "log.csv";
|
|
81
81
|
s.callLocIdx = 3; s.pc = 1; return s.tmp_1;
|
|
82
82
|
case 1:
|
|
83
83
|
r0 = s.retval;
|
|
84
|
-
s.tmp_2 =
|
|
84
|
+
s.tmp_2 = datalogger_setStorage__P59505_mk(s);
|
|
85
85
|
s.tmp_2.arg0 = s.tmp_0;
|
|
86
86
|
s.callLocIdx = 4; s.pc = 2; return s.tmp_2;
|
|
87
87
|
case 2:
|
|
@@ -90,13 +90,13 @@ switch (step) {
|
|
|
90
90
|
return leave(s, r0)
|
|
91
91
|
default: oops()
|
|
92
92
|
} } }
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
_main___P59019.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
94
|
+
_main___P59019.continuations = [ ]
|
|
95
95
|
|
|
96
|
-
function
|
|
96
|
+
function _main___P59019_mk(s) {
|
|
97
97
|
checkStack(s.depth);
|
|
98
98
|
return {
|
|
99
|
-
parent: s, fn:
|
|
99
|
+
parent: s, fn: _main___P59019, depth: s.depth + 1,
|
|
100
100
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
101
101
|
tmp_0: undefined,
|
|
102
102
|
tmp_1: undefined,
|
|
@@ -106,8 +106,7 @@ function _main___P58994_mk(s) {
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
|
|
110
|
-
function datalogger_FileStorage_constructor__P59493(s) {
|
|
109
|
+
function datalogger_FileStorage_constructor__P59518(s) {
|
|
111
110
|
let r0 = s.r0, step = s.pc;
|
|
112
111
|
s.pc = -1;
|
|
113
112
|
|
|
@@ -123,19 +122,19 @@ switch (step) {
|
|
|
123
122
|
s.lambdaArgs = null;
|
|
124
123
|
}
|
|
125
124
|
r0 = s.arg0;
|
|
126
|
-
if (!checkSubtype(r0,
|
|
125
|
+
if (!checkSubtype(r0, datalogger_FileStorage__C59512_VT)) failedCast(r0, datalogger_FileStorage__C59512_VT);
|
|
127
126
|
r0 = undefined;
|
|
128
127
|
r0 = (s.arg0).fields["filename"] = (s.arg1);
|
|
129
128
|
r0 = undefined;
|
|
130
129
|
return leave(s, r0)
|
|
131
130
|
default: oops()
|
|
132
131
|
} } }
|
|
133
|
-
|
|
132
|
+
datalogger_FileStorage_constructor__P59518.info = {"start":192,"length":99,"line":7,"column":8,"endLine":10,"endColumn":9,"fileName":"storagedatalogger.ts","functionName":"inline","argumentNames":["this","filename"]}
|
|
134
133
|
|
|
135
|
-
function
|
|
134
|
+
function datalogger_FileStorage_constructor__P59518_mk(s) {
|
|
136
135
|
checkStack(s.depth);
|
|
137
136
|
return {
|
|
138
|
-
parent: s, fn:
|
|
137
|
+
parent: s, fn: datalogger_FileStorage_constructor__P59518, depth: s.depth + 1,
|
|
139
138
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
140
139
|
arg0: undefined,
|
|
141
140
|
arg1: undefined,
|
|
@@ -144,8 +143,7 @@ function datalogger_FileStorage_constructor__P59493_mk(s) {
|
|
|
144
143
|
|
|
145
144
|
|
|
146
145
|
|
|
147
|
-
|
|
148
|
-
function datalogger_Storage_constructor__P59454(s) {
|
|
146
|
+
function datalogger_Storage_constructor__P59479(s) {
|
|
149
147
|
let r0 = s.r0, step = s.pc;
|
|
150
148
|
s.pc = -1;
|
|
151
149
|
|
|
@@ -160,17 +158,17 @@ switch (step) {
|
|
|
160
158
|
s.lambdaArgs = null;
|
|
161
159
|
}
|
|
162
160
|
r0 = s.arg0;
|
|
163
|
-
if (!checkSubtype(r0,
|
|
161
|
+
if (!checkSubtype(r0, datalogger_Storage__C59474_VT)) failedCast(r0, datalogger_Storage__C59474_VT);
|
|
164
162
|
r0 = undefined;
|
|
165
163
|
return leave(s, r0)
|
|
166
164
|
default: oops()
|
|
167
165
|
} } }
|
|
168
|
-
|
|
166
|
+
datalogger_Storage_constructor__P59479.info = {"start":412,"length":25,"line":20,"column":8,"endLine":21,"endColumn":9,"fileName":"datalogger.ts","functionName":"inline","argumentNames":["this"]}
|
|
169
167
|
|
|
170
|
-
function
|
|
168
|
+
function datalogger_Storage_constructor__P59479_mk(s) {
|
|
171
169
|
checkStack(s.depth);
|
|
172
170
|
return {
|
|
173
|
-
parent: s, fn:
|
|
171
|
+
parent: s, fn: datalogger_Storage_constructor__P59479, depth: s.depth + 1,
|
|
174
172
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
175
173
|
arg0: undefined,
|
|
176
174
|
} }
|
|
@@ -178,8 +176,7 @@ function datalogger_Storage_constructor__P59454_mk(s) {
|
|
|
178
176
|
|
|
179
177
|
|
|
180
178
|
|
|
181
|
-
|
|
182
|
-
function datalogger_setStorage__P59480(s) {
|
|
179
|
+
function datalogger_setStorage__P59505(s) {
|
|
183
180
|
let r0 = s.r0, step = s.pc;
|
|
184
181
|
s.pc = -1;
|
|
185
182
|
|
|
@@ -193,12 +190,12 @@ switch (step) {
|
|
|
193
190
|
s.arg0 = (s.lambdaArgs[0]);
|
|
194
191
|
s.lambdaArgs = null;
|
|
195
192
|
}
|
|
196
|
-
s.tmp_0 =
|
|
193
|
+
s.tmp_0 = datalogger_flush__P59506_mk(s);
|
|
197
194
|
s.callLocIdx = 0; s.pc = 1; return s.tmp_0;
|
|
198
195
|
case 1:
|
|
199
196
|
r0 = s.retval;
|
|
200
|
-
globals.
|
|
201
|
-
s.tmp_0 =
|
|
197
|
+
globals._storage___59487 = (s.arg0);
|
|
198
|
+
s.tmp_0 = datalogger_clear__P59500_mk(s);
|
|
202
199
|
s.callLocIdx = 1; s.pc = 2; return s.tmp_0;
|
|
203
200
|
case 2:
|
|
204
201
|
r0 = s.retval;
|
|
@@ -206,12 +203,12 @@ switch (step) {
|
|
|
206
203
|
return leave(s, r0)
|
|
207
204
|
default: oops()
|
|
208
205
|
} } }
|
|
209
|
-
|
|
206
|
+
datalogger_setStorage__P59505.info = {"start":4000,"length":114,"line":151,"column":4,"endLine":155,"endColumn":5,"fileName":"datalogger.ts","functionName":"setStorage","argumentNames":["storage"]}
|
|
210
207
|
|
|
211
|
-
function
|
|
208
|
+
function datalogger_setStorage__P59505_mk(s) {
|
|
212
209
|
checkStack(s.depth);
|
|
213
210
|
return {
|
|
214
|
-
parent: s, fn:
|
|
211
|
+
parent: s, fn: datalogger_setStorage__P59505, depth: s.depth + 1,
|
|
215
212
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
216
213
|
tmp_0: undefined,
|
|
217
214
|
arg0: undefined,
|
|
@@ -220,8 +217,7 @@ function datalogger_setStorage__P59480_mk(s) {
|
|
|
220
217
|
|
|
221
218
|
|
|
222
219
|
|
|
223
|
-
|
|
224
|
-
function datalogger_clear__P59475(s) {
|
|
220
|
+
function datalogger_clear__P59500(s) {
|
|
225
221
|
let r0 = s.r0, step = s.pc;
|
|
226
222
|
s.pc = -1;
|
|
227
223
|
|
|
@@ -231,26 +227,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
231
227
|
switch (step) {
|
|
232
228
|
case 0:
|
|
233
229
|
|
|
234
|
-
globals.
|
|
235
|
-
globals.
|
|
230
|
+
globals._headers___59481 = (undefined);
|
|
231
|
+
globals._row___59485 = (undefined);
|
|
236
232
|
r0 = undefined;
|
|
237
233
|
return leave(s, r0)
|
|
238
234
|
default: oops()
|
|
239
235
|
} } }
|
|
240
|
-
|
|
236
|
+
datalogger_clear__P59500.info = {"start":1145,"length":80,"line":51,"column":4,"endLine":54,"endColumn":5,"fileName":"datalogger.ts","functionName":"clear","argumentNames":[]}
|
|
241
237
|
|
|
242
|
-
function
|
|
238
|
+
function datalogger_clear__P59500_mk(s) {
|
|
243
239
|
checkStack(s.depth);
|
|
244
240
|
return {
|
|
245
|
-
parent: s, fn:
|
|
241
|
+
parent: s, fn: datalogger_clear__P59500, depth: s.depth + 1,
|
|
246
242
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
247
243
|
} }
|
|
248
244
|
|
|
249
245
|
|
|
250
246
|
|
|
251
247
|
|
|
252
|
-
|
|
253
|
-
function datalogger_flush__P59481(s) {
|
|
248
|
+
function datalogger_flush__P59506(s) {
|
|
254
249
|
let r0 = s.r0, step = s.pc;
|
|
255
250
|
s.pc = -1;
|
|
256
251
|
|
|
@@ -260,21 +255,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
260
255
|
switch (step) {
|
|
261
256
|
case 0:
|
|
262
257
|
|
|
263
|
-
s.tmp_0 = r0 = globals.
|
|
258
|
+
s.tmp_0 = r0 = globals._headers___59481;
|
|
264
259
|
r0 = pxsim_numops_toBool(s.tmp_0);
|
|
265
260
|
if (r0) { step = 1; continue; }
|
|
266
261
|
r0 = s.tmp_0;
|
|
267
262
|
{ step = 2; continue; }
|
|
268
263
|
case 1:
|
|
269
|
-
r0 = globals.
|
|
264
|
+
r0 = globals._storage___59487;
|
|
270
265
|
case 2:
|
|
271
266
|
// jmp value (already in r0)
|
|
272
267
|
s.tmp_1 = r0;
|
|
273
268
|
r0 = pxsim_numops_toBoolDecr(s.tmp_1);
|
|
274
269
|
if (!r0) { step = 3; continue; }
|
|
275
|
-
s.tmp_2 =
|
|
276
|
-
s.tmp_2.arg0 = globals.
|
|
277
|
-
if (!checkSubtype(s.tmp_2.arg0,
|
|
270
|
+
s.tmp_2 = datalogger_Storage__C59474_v0_1_mk(s);
|
|
271
|
+
s.tmp_2.arg0 = globals._storage___59487;
|
|
272
|
+
if (!checkSubtype(s.tmp_2.arg0, datalogger_Storage__C59474_VT)) failedCast(s.tmp_2.arg0, datalogger_Storage__C59474_VT);
|
|
278
273
|
s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.flush;
|
|
279
274
|
s.pc = 5; return s.tmp_2;
|
|
280
275
|
case 5:
|
|
@@ -285,12 +280,12 @@ switch (step) {
|
|
|
285
280
|
return leave(s, r0)
|
|
286
281
|
default: oops()
|
|
287
282
|
} } }
|
|
288
|
-
|
|
283
|
+
datalogger_flush__P59506.info = {"start":4184,"length":95,"line":161,"column":4,"endLine":164,"endColumn":5,"fileName":"datalogger.ts","functionName":"flush","argumentNames":[]}
|
|
289
284
|
|
|
290
|
-
function
|
|
285
|
+
function datalogger_flush__P59506_mk(s) {
|
|
291
286
|
checkStack(s.depth);
|
|
292
287
|
return {
|
|
293
|
-
parent: s, fn:
|
|
288
|
+
parent: s, fn: datalogger_flush__P59506, depth: s.depth + 1,
|
|
294
289
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
295
290
|
tmp_0: undefined,
|
|
296
291
|
tmp_1: undefined,
|
|
@@ -300,8 +295,7 @@ function datalogger_flush__P59481_mk(s) {
|
|
|
300
295
|
|
|
301
296
|
|
|
302
297
|
|
|
303
|
-
|
|
304
|
-
function datalogger_Storage_flush__P59453(s) {
|
|
298
|
+
function datalogger_Storage_flush__P59478(s) {
|
|
305
299
|
let r0 = s.r0, step = s.pc;
|
|
306
300
|
s.pc = -1;
|
|
307
301
|
|
|
@@ -316,17 +310,17 @@ switch (step) {
|
|
|
316
310
|
s.lambdaArgs = null;
|
|
317
311
|
}
|
|
318
312
|
r0 = s.arg0;
|
|
319
|
-
if (!checkSubtype(r0,
|
|
313
|
+
if (!checkSubtype(r0, datalogger_Storage__C59474_VT)) failedCast(r0, datalogger_Storage__C59474_VT);
|
|
320
314
|
r0 = undefined;
|
|
321
315
|
return leave(s, r0)
|
|
322
316
|
default: oops()
|
|
323
317
|
} } }
|
|
324
|
-
|
|
318
|
+
datalogger_Storage_flush__P59478.info = {"start":807,"length":17,"line":37,"column":8,"endLine":37,"endColumn":25,"fileName":"datalogger.ts","functionName":"flush","argumentNames":["this"]}
|
|
325
319
|
|
|
326
|
-
function
|
|
320
|
+
function datalogger_Storage_flush__P59478_mk(s) {
|
|
327
321
|
checkStack(s.depth);
|
|
328
322
|
return {
|
|
329
|
-
parent: s, fn:
|
|
323
|
+
parent: s, fn: datalogger_Storage_flush__P59478, depth: s.depth + 1,
|
|
330
324
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
331
325
|
arg0: undefined,
|
|
332
326
|
} }
|
|
@@ -334,8 +328,7 @@ function datalogger_Storage_flush__P59453_mk(s) {
|
|
|
334
328
|
|
|
335
329
|
|
|
336
330
|
|
|
337
|
-
|
|
338
|
-
function datalogger_FileStorage_flush__P59492(s) {
|
|
331
|
+
function datalogger_FileStorage_flush__P59517(s) {
|
|
339
332
|
let r0 = s.r0, step = s.pc;
|
|
340
333
|
s.pc = -1;
|
|
341
334
|
|
|
@@ -350,25 +343,24 @@ switch (step) {
|
|
|
350
343
|
s.lambdaArgs = null;
|
|
351
344
|
}
|
|
352
345
|
r0 = s.arg0;
|
|
353
|
-
if (!checkSubtype(r0,
|
|
346
|
+
if (!checkSubtype(r0, datalogger_FileStorage__C59512_VT)) failedCast(r0, datalogger_FileStorage__C59512_VT);
|
|
354
347
|
r0 = undefined;
|
|
355
348
|
return leave(s, r0)
|
|
356
349
|
default: oops()
|
|
357
350
|
} } }
|
|
358
|
-
|
|
351
|
+
datalogger_FileStorage_flush__P59517.info = {"start":1121,"length":27,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"storagedatalogger.ts","functionName":"flush","argumentNames":["this"]}
|
|
359
352
|
|
|
360
|
-
function
|
|
353
|
+
function datalogger_FileStorage_flush__P59517_mk(s) {
|
|
361
354
|
checkStack(s.depth);
|
|
362
355
|
return {
|
|
363
|
-
parent: s, fn:
|
|
356
|
+
parent: s, fn: datalogger_FileStorage_flush__P59517, depth: s.depth + 1,
|
|
364
357
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
365
358
|
arg0: undefined,
|
|
366
359
|
} }
|
|
367
360
|
|
|
368
361
|
|
|
369
362
|
|
|
370
|
-
|
|
371
|
-
function datalogger_Storage__C59449_v0_1_mk(s) {
|
|
363
|
+
function datalogger_Storage__C59474_v0_1_mk(s) {
|
|
372
364
|
checkStack(s.depth);
|
|
373
365
|
return {
|
|
374
366
|
parent: s, fn: null, depth: s.depth + 1,
|
|
@@ -381,36 +373,36 @@ function datalogger_Storage__C59449_v0_1_mk(s) {
|
|
|
381
373
|
arg0: undefined,
|
|
382
374
|
} }
|
|
383
375
|
|
|
384
|
-
const
|
|
376
|
+
const datalogger_Storage__C59474_VT = mkVTable({
|
|
385
377
|
name: "Storage",
|
|
386
378
|
numFields: 0,
|
|
387
379
|
classNo: 16,
|
|
388
380
|
lastSubtypeNo: 17,
|
|
389
381
|
maxBgInstances: null,
|
|
390
382
|
methods: {
|
|
391
|
-
"flush":
|
|
383
|
+
"flush": datalogger_Storage_flush__P59478,
|
|
392
384
|
},
|
|
393
385
|
iface: {
|
|
394
|
-
"flush":
|
|
386
|
+
"flush": datalogger_Storage_flush__P59478,
|
|
395
387
|
},
|
|
396
388
|
});
|
|
397
|
-
const
|
|
389
|
+
const datalogger_FileStorage__C59512_VT = mkVTable({
|
|
398
390
|
name: "FileStorage",
|
|
399
391
|
numFields: 1,
|
|
400
392
|
classNo: 17,
|
|
401
393
|
lastSubtypeNo: 17,
|
|
402
394
|
maxBgInstances: null,
|
|
403
395
|
methods: {
|
|
404
|
-
"flush":
|
|
396
|
+
"flush": datalogger_FileStorage_flush__P59517,
|
|
405
397
|
},
|
|
406
398
|
iface: {
|
|
407
399
|
"filename": null,
|
|
408
400
|
"set/filename": null,
|
|
409
|
-
"flush":
|
|
401
|
+
"flush": datalogger_FileStorage_flush__P59517,
|
|
410
402
|
},
|
|
411
403
|
});
|
|
412
404
|
|
|
413
|
-
const breakpoints = setupDebugger(1, ["
|
|
405
|
+
const breakpoints = setupDebugger(1, ["_headers___59481","_row___59485","_storage___59487"])
|
|
414
406
|
|
|
415
|
-
return
|
|
407
|
+
return _main___P59019
|
|
416
408
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2934 new=27.74% cached=0.00% other=72.26%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P102912(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___103156 = (undefined);
|
|
70
|
+
globals._pollEventQueue___103169 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P102912.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/core/pinscompat.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P102912.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P102912_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P102912, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P102912
|
|
92
91
|
})
|