Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d3a4ef1
Showing
10 changed files
with
489 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
built | ||
node_modules | ||
yotta_modules | ||
yotta_targets | ||
pxt_modules | ||
*.db | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
language: node_js | ||
node_js: | ||
- "5.7.0" | ||
script: | ||
- "npm install -g pxt" | ||
- "pxt target microbit" | ||
- "pxt install" | ||
- "pxt build" | ||
sudo: false | ||
cache: | ||
directories: | ||
- npm_modules | ||
- pxt_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"editor.formatOnType": true, | ||
"files.autoSave": "afterDelay", | ||
"files.watcherExclude": { | ||
"**/.git/objects/**": true, | ||
"**/built/**": true, | ||
"**/node_modules/**": true, | ||
"**/yotta_modules/**": true, | ||
"**/yotta_targets": true, | ||
"**/pxt_modules/**": true | ||
}, | ||
"search.exclude": { | ||
"**/built": true, | ||
"**/node_modules": true, | ||
"**/yotta_modules": true, | ||
"**/yotta_targets": true, | ||
"**/pxt_modules": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
// A task runner that calls the MakeCode (PXT) compiler | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [{ | ||
"label": "pxt deploy", | ||
"type": "shell", | ||
"command": "pxt deploy", | ||
"group": "build", | ||
"problemMatcher": [ "$tsc" ] | ||
}, { | ||
"label": "pxt build", | ||
"type": "shell", | ||
"command": "pxt build", | ||
"group": "test", | ||
"problemMatcher": [ "$tsc" ] | ||
}, { | ||
"label": "pxt clean", | ||
"type": "shell", | ||
"command": "pxt clean", | ||
"group": "test", | ||
"problemMatcher": [ "$tsc" ] | ||
}, { | ||
"label": "pxt serial", | ||
"type": "shell", | ||
"command": "pxt serial", | ||
"group": "test", | ||
"problemMatcher": [ "$tsc" ] | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
all: deploy | ||
|
||
build: | ||
pxt build | ||
|
||
deploy: | ||
pxt deploy | ||
|
||
test: | ||
pxt test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# DF-Driver | ||
|
||
This is dc motor, stepper motor, steering gear library. | ||
|
||
## TODO | ||
|
||
- [ ] Add a reference for your blocks here | ||
- [ ] Add "icon.png" image (300x200) in the root folder | ||
- [ ] Add "- beta" to the GitHub project description if you are still iterating it. | ||
- [ ] Turn on your automated build on https://travis-ci.org | ||
- [ ] Use "pxt bump" to create a tagged release on GitHub | ||
- [ ] Get your package reviewed and approved https://makecode.microbit.org/packages/approval | ||
|
||
Read more at https://makecode.microbit.org/packages/build-your-own | ||
|
||
## License | ||
|
||
MIT | ||
|
||
## Supported targets | ||
|
||
* for PXT/microbit | ||
(The metadata above is needed for package search.) | ||
```package | ||
gamePad=github:DFRobot/pxt-motor | ||
``` |
Oops, something went wrong.