From 2745a145ceafcddb418dedcad01a81c0e85ad085 Mon Sep 17 00:00:00 2001 From: iosullivan Date: Sun, 19 Jul 2026 08:30:19 +0800 Subject: [PATCH] Updates for multi-train logic --- examples/src/micropython/diagram.json | 16 ++++++++++++++++ .../src/micropython/local_secrets.py.example | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 examples/src/micropython/diagram.json diff --git a/examples/src/micropython/diagram.json b/examples/src/micropython/diagram.json new file mode 100644 index 0000000..5c022fe --- /dev/null +++ b/examples/src/micropython/diagram.json @@ -0,0 +1,16 @@ +{ + "version": 1, + "author": "Isaac", + "editor": "wokwi", + "parts": [ + { "type": "board-esp32-devkit-c-v4", "id": "esp", "top": -37.58, "left": -96.37, "attrs": {} }, + { "type": "wokwi-led", "id": "led1", "top": -61.2, "left": 61.4, "attrs": { "color": "red" } } + ], + "connections": [ + [ "esp:TX", "$serialMonitor:RX", "", [] ], + [ "esp:RX", "$serialMonitor:TX", "", [] ], + [ "led1:C", "esp:GND.2", "green", [ "v0" ] ], + [ "led1:A", "esp:15", "green", [ "v0" ] ] + ], + "dependencies": {} +} \ No newline at end of file diff --git a/examples/src/micropython/local_secrets.py.example b/examples/src/micropython/local_secrets.py.example index e890809..b535ce1 100644 --- a/examples/src/micropython/local_secrets.py.example +++ b/examples/src/micropython/local_secrets.py.example @@ -1,3 +1,3 @@ -SSID = "WifiAP" -PASS = "WifiPass" +SSID = "Wokwi-GUEST" +PASS = "" APIKEY = "abcdef1234567890abcdef" \ No newline at end of file