diff --git a/libs/templates/bluetoothprj/README.md b/libs/templates/bluetoothprj/README.md new file mode 100644 index 00000000..e69de29b diff --git a/libs/templates/bluetoothprj/main.blocks b/libs/templates/bluetoothprj/main.blocks new file mode 100644 index 00000000..d809e7e4 --- /dev/null +++ b/libs/templates/bluetoothprj/main.blocks @@ -0,0 +1,62 @@ + + + + +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +TRUE +FALSE +TRUE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +TRUE +FALSE +FALSE +FALSE +TRUE +FALSE +TRUE +TRUE +TRUE +FALSE + + +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE + + + + + + \ No newline at end of file diff --git a/libs/templates/bluetoothprj/main.ts b/libs/templates/bluetoothprj/main.ts new file mode 100644 index 00000000..4dfdb3a1 --- /dev/null +++ b/libs/templates/bluetoothprj/main.ts @@ -0,0 +1,16 @@ +basic.forever(() => { + basic.showLeds(` + . # . # . + # . # . # + # . . . # + . # . # . + . . # . . + `) + basic.showLeds(` + . . . . . + . . . . . + . . . . . + . . . . . + . . . . . + `) +}) \ No newline at end of file diff --git a/libs/templates/bluetoothprj/pxt.json b/libs/templates/bluetoothprj/pxt.json new file mode 100644 index 00000000..6cae5d55 --- /dev/null +++ b/libs/templates/bluetoothprj/pxt.json @@ -0,0 +1,13 @@ +{ + "name": "{0} block", + "dependencies": { + "core": "*", + "bluetooth": "*" + }, + "description": "", + "files": [ + "main.blocks", + "main.ts", + "README.md" + ] +} diff --git a/libs/templates/bluetoothprj/tsconfig.json b/libs/templates/bluetoothprj/tsconfig.json new file mode 100644 index 00000000..1ba59f2c --- /dev/null +++ b/libs/templates/bluetoothprj/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "target": "es5", + "noImplicitAny": true, + "outDir": "built", + "rootDir": "." + } +} diff --git a/package.json b/package.json index 8365e77e..d8673ca5 100644 --- a/package.json +++ b/package.json @@ -20,11 +20,11 @@ "built/*.js", "built/*.json", "built/*.d.ts", + "built/hexcache", "sim/public", "docs/*.md", "docs/*/*.md", - "docs/*/*/*.md", - "hexcache/*.hex" + "docs/*/*/*.md" ], "devDependencies": { "typescript": "^1.8.7"