diff --git a/.main_backup.py.swp b/.main_backup.py.swp new file mode 100644 index 0000000..dd5aa10 Binary files /dev/null and b/.main_backup.py.swp differ diff --git a/.micropico b/.micropico new file mode 100644 index 0000000..3de3977 --- /dev/null +++ b/.micropico @@ -0,0 +1,3 @@ +{ + "info": "This file is just used to identify a project folder." +} \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..fbc7999 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + "recommendations": [ + "ms-python.python", + "visualstudioexptteam.vscodeintellicode", + "ms-python.vscode-pylance", + "paulober.pico-w-go" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..53f56ca --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "python.languageServer": "Jedi", + "python.analysis.typeCheckingMode": "basic", + "python.analysis.diagnosticSeverityOverrides": { + "reportMissingModuleSource": "none" + }, + "python.terminal.activateEnvironment": false, + "micropico.openOnStart": true, + "python.analysis.typeshedPaths": [ + "~/.micropico-stubs/included" + ], + "python.analysis.extraPaths": [ + "~/.micropico-stubs/included" + ] +} \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..b226cd6 --- /dev/null +++ b/main.py @@ -0,0 +1,7 @@ +import time +from machine import Pin, I2C, time_pulse_us +from vl53l0x import VL53L0X +import _thread + +us_daten = [0.0]*10 +tof_daten = [0.0}*10