Next iteration with backoffs, tasks, basic skeleton for events

This commit is contained in:
2025-09-20 20:50:30 +02:00
parent 0315b4a559
commit 29ba78d5b2
15 changed files with 4926 additions and 211 deletions

67
diagram.json Normal file
View File

@@ -0,0 +1,67 @@
{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{
"type": "board-esp32-s3-devkitc-1",
"id": "esp",
"top": 86.22,
"left": -5.03,
"attrs": { "builder": "rust-nostd-esp" }
},
{
"type": "wokwi-led-ring",
"id": "ring1",
"top": -76.16,
"left": -133.21,
"attrs": { "pixels": "16" }
},
{
"type": "wokwi-mpu6050",
"id": "imu1",
"top": 128.02,
"left": -152.12,
"rotate": 90,
"attrs": {}
},
{
"type": "wokwi-vcc",
"id": "vcc1",
"top": 210.24,
"left": -76.6,
"rotate": 180,
"attrs": {}
},
{
"type": "wokwi-vcc",
"id": "vcc2",
"top": 104.64,
"left": -76.6,
"rotate": 180,
"attrs": {}
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 77.3, "left": -114.9, "rotate": 90, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd2", "top": 164.1, "left": -58.7, "rotate": 270, "attrs": {} },
{
"type": "wokwi-neopixel-meter",
"id": "meter1",
"top": -19.2,
"left": 28.8,
"attrs": { "pixels": "16" }
}
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "vcc1:VCC", "imu1:VCC", "red", [ "v0" ] ],
[ "ring1:VCC", "vcc2:VCC", "red", [ "h0" ] ],
[ "ring1:GND", "gnd1:GND", "black", [ "v0" ] ],
[ "gnd2:GND", "imu1:GND", "black", [ "v0" ] ],
[ "esp:7", "imu1:SCL", "green", [ "h0" ] ],
[ "esp:6", "imu1:SDA", "green", [ "h0" ] ],
[ "esp:5", "ring1:DIN", "green", [ "h0" ] ]
],
"serialMonitor": { "display": "terminal", "convertEol": true },
"dependencies": {}
}