initial commit

This commit is contained in:
apio 2024-03-04 15:53:56 +01:00
commit 9e9603b1d5
5 changed files with 32 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
yotta_modules/
yotta_targets/
build/

2
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,2 @@
{
}

6
.yotta.json Normal file
View File

@ -0,0 +1,6 @@
{
"build": {
"target": "bbc-microbit-classic-gcc,https://github.com/lancaster-university/yotta-target-bbc-microbit-classic-gcc",
"targetSetExplicitly": true
}
}

11
module.json Normal file
View File

@ -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"
}

10
src/main.cpp Normal file
View File

@ -0,0 +1,10 @@
#include "MicroBit.h"
MicroBit uBit;
int main()
{
uBit.init();
uBit.display.scroll("Hi!");
release_fiber();
}