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 d2d9dfc commit 253e1a6Copy full SHA for 253e1a6
teensy/main.c
@@ -302,7 +302,7 @@ int main(void) {
302
#endif
303
304
#if MICROPY_MODULE_FROZEN
305
- pyexec_frozen_module("boot");
+ pyexec_frozen_module("boot.py");
306
#else
307
if (!pyexec_file("/boot.py")) {
308
flash_error(4);
@@ -314,7 +314,7 @@ int main(void) {
314
315
// run main script
316
317
- pyexec_frozen_module("main");
+ pyexec_frozen_module("main.py");
318
319
{
320
vstr_t *vstr = vstr_new();
teensy/memzip_files/main.py
@@ -1,3 +1,5 @@
1
+import pyb
2
+
3
print("Executing main.py")
4
5
led = pyb.LED(1)
0 commit comments