commit 9e9603b1d53033dc6056c772e1e7672aa36e5290 Author: apio Date: Mon Mar 4 15:53:56 2024 +0100 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..af2b155 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +yotta_modules/ +yotta_targets/ +build/ \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..7a73a41 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/.yotta.json b/.yotta.json new file mode 100644 index 0000000..5c479e5 --- /dev/null +++ b/.yotta.json @@ -0,0 +1,6 @@ +{ + "build": { + "target": "bbc-microbit-classic-gcc,https://github.com/lancaster-university/yotta-target-bbc-microbit-classic-gcc", + "targetSetExplicitly": true + } +} diff --git a/module.json b/module.json new file mode 100644 index 0000000..a0564b9 --- /dev/null +++ b/module.json @@ -0,0 +1,11 @@ +{ + "name": "cloudapio-microbit", + "version": "0.0.1", + "description": "A microbit project", + "license": "BSD-2-Clause", + "dependencies": { + "microbit": "lancaster-university/microbit#v2.1.1" + }, + "targetDependencies": {}, + "bin": "./src" + } \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..0399d3b --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,10 @@ +#include "MicroBit.h" + +MicroBit uBit; + +int main() +{ + uBit.init(); + uBit.display.scroll("Hi!"); + release_fiber(); +} \ No newline at end of file