From 21eac3abda708e98458341f2f60c2f63ecf57580 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Thu, 7 May 2020 11:07:46 +0200 Subject: [PATCH] ev3/snippets/bluetooth_pc: hello world launch This creates an empty hello world style Python3 example --- snippets/ev3/bluetooth_pc/.vscode/launch.json | 15 +++++++++++++++ snippets/ev3/bluetooth_pc/pcserver.py | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 snippets/ev3/bluetooth_pc/.vscode/launch.json create mode 100644 snippets/ev3/bluetooth_pc/pcserver.py diff --git a/snippets/ev3/bluetooth_pc/.vscode/launch.json b/snippets/ev3/bluetooth_pc/.vscode/launch.json new file mode 100644 index 0000000..7190ee2 --- /dev/null +++ b/snippets/ev3/bluetooth_pc/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "PC Bluetooth Example", + "type": "python", + "request": "launch", + "program": "pcserver.py", + "console": "integratedTerminal" + } + ] +} diff --git a/snippets/ev3/bluetooth_pc/pcserver.py b/snippets/ev3/bluetooth_pc/pcserver.py new file mode 100644 index 0000000..f669ed6 --- /dev/null +++ b/snippets/ev3/bluetooth_pc/pcserver.py @@ -0,0 +1,2 @@ +#!/usr/bin/env python3 +print("Hello, world!")