Update project structure

This commit is contained in:
Rafa 2025-05-10 23:37:54 +01:00
parent 05063707d1
commit 1c437aeb93
7 changed files with 57 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
build/

13
.vscode/run vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
./bin/arduino-cli compile --fqbn arduino:avr:uno code --libraries ./libraries/ --build-path ./build --clean
echo "Starting simulation..."
sleep 1
xdotool key ctrl+shift+p
xdotool type "Wokwi: Start Simulation"
xdotool key Return

18
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,18 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run",
"type": "shell",
"command": "${workspaceFolder}/.vscode/run",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

BIN
bin/arduino-cli Executable file

Binary file not shown.

6
code/code.ino Normal file
View File

@ -0,0 +1,6 @@
void setup() {
}
void loop() {
}

10
diagram.json Normal file
View File

@ -0,0 +1,10 @@
{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [ { "type": "wokwi-arduino-uno", "id": "uno", "top": -28.2, "left": -10.2, "attrs": {} } ],
"connections": [],
"dependencies": {}
}

6
wokwi.toml Normal file
View File

@ -0,0 +1,6 @@
[wokwi]
version = 1
firmware = 'build/code.ino.hex'
elf = 'build/code.ino.elf'