Update project structure
This commit is contained in:
parent
05063707d1
commit
1c437aeb93
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
build/
|
||||||
|
|
||||||
|
|
||||||
13
.vscode/run
vendored
Executable file
13
.vscode/run
vendored
Executable 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
18
.vscode/tasks.json
vendored
Normal 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
BIN
bin/arduino-cli
Executable file
Binary file not shown.
6
code/code.ino
Normal file
6
code/code.ino
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
void setup() {
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
}
|
||||||
10
diagram.json
Normal file
10
diagram.json
Normal 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
6
wokwi.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
[wokwi]
|
||||||
|
version = 1
|
||||||
|
firmware = 'build/code.ino.hex'
|
||||||
|
elf = 'build/code.ino.elf'
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user