+ {#if $robot.background}
+
+ {/if}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/lib/domain/blockly/toolbox.ts b/src/lib/domain/blockly/toolbox.ts
index 8c61436..ccdc0cc 100644
--- a/src/lib/domain/blockly/toolbox.ts
+++ b/src/lib/domain/blockly/toolbox.ts
@@ -704,4 +704,32 @@ export default [
id: "l_functions",
custom: "PROCEDURE",
},
+ {
+ name: "MicroPython",
+ style: "micropython_category",
+ id: "micropython",
+ groups: [
+ [
+ {
+ type: "time_delay",
+ inputs: {
+ DELAY_TIME_MILI: number(1000),
+ },
+
+
+ },
+ {
+ type: "leaphy_original_set_led",
+ inputs: {
+ LED_RED: number(0),
+ LED_GREEN: number(0),
+ LED_BLUE: number(0),
+ },
+ },
+ {
+ type: "controls_repeat_forever",
+ },
+ ],
+ ],
+ },
];
diff --git a/src/lib/domain/robots.ts b/src/lib/domain/robots.ts
index d861d32..af4cfc8 100644
--- a/src/lib/domain/robots.ts
+++ b/src/lib/domain/robots.ts
@@ -286,6 +286,14 @@ export const robotListing: Robot[][] = [
mode: Mode.ADVANCED,
robot: robots.l_uno,
},
+ {
+ id: "l_micropython_blocks",
+ name: "MicroPython Blocks",
+ icon: microPythonIcon,
+ mode: Mode.PYTHONBLOCKS,
+ defaultProgram: defaultPython,
+ robot: robots.l_nano_rp2040,
+ },
{
id: "l_micropython",
name: "MicroPython",
diff --git a/src/lib/state/popup.svelte.ts b/src/lib/state/popup.svelte.ts
index e025bdd..07c9275 100644
--- a/src/lib/state/popup.svelte.ts
+++ b/src/lib/state/popup.svelte.ts
@@ -1,4 +1,3 @@
-import BrowserNotSupported from "$components/core/popups/popups/BrowserNotSupported.svelte";
import Credits from "$components/core/popups/popups/Credits.svelte";
import LanguageSelector from "$components/core/popups/popups/LanguageSelector.svelte";
import type { ComponentType } from "svelte";
@@ -25,7 +24,6 @@ export interface PopupState {
function createPopups() {
const { subscribe, update, set } = writable