initial commit
This commit is contained in:
commit
9e9603b1d5
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
yotta_modules/
|
||||
yotta_targets/
|
||||
build/
|
2
.vscode/settings.json
vendored
Normal file
2
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
{
|
||||
}
|
6
.yotta.json
Normal file
6
.yotta.json
Normal 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
11
module.json
Normal 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
10
src/main.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include "MicroBit.h"
|
||||
|
||||
MicroBit uBit;
|
||||
|
||||
int main()
|
||||
{
|
||||
uBit.init();
|
||||
uBit.display.scroll("Hi!");
|
||||
release_fiber();
|
||||
}
|
Loading…
Reference in New Issue
Block a user