Compare commits

..

8 Commits

Author SHA1 Message Date
816d738390 0.0.11 2016-03-29 11:35:17 -07:00
3e133aa66e Bump kindscript to 0.1.117 2016-03-29 11:35:14 -07:00
a471c2cb1a 0.0.10 2016-03-29 08:41:30 -07:00
a5826540fa Bump kindscript to 0.1.115 2016-03-29 08:41:29 -07:00
1768881719 Simplify travis instructions 2016-03-29 08:26:18 -07:00
365c95b33d 0.0.9 2016-03-28 23:29:26 -07:00
d05fa9f4cb Bump kindscript to 0.1.114 2016-03-28 23:29:25 -07:00
acb0c66e85 some edits to about 2016-03-28 23:18:27 -07:00
3 changed files with 7 additions and 16 deletions

View File

@ -2,8 +2,6 @@ language: node_js
node_js:
- "5.7.0"
script:
- "npm update"
- "node node_modules/kindscript/built/kind.js buildtarget"
- "node node_modules/kindscript/built/kind.js travis"
- "node node_modules/kindscript/built/kind.js uploaddoc"
sudo: false

View File

@ -1,14 +1,14 @@
# About
The [BBC micro:bit](https://www.microbit.co.uk) is a [pocket-size computer](/device) with 25 LEDs, Bluetooth and sensors that can be programmed by anyone.
The BBC micro:bit was made possible by [a number of partners!](https://www.microbit.co.uk/partners)
The [BBC micro:bit](https://www.microbit.co.uk) is a [pocket-size computer](/device) with a 5x5 display of 25 LEDs, Bluetooth and sensors that can be programmed by anyone.
The BBC micro:bit was made possible by many [partners](https://www.microbit.co.uk/partners).
The micro:bit provides a fun introduction to programming and making switch on, program it to do something fun wear it, customize it.
Just like Arduino, the micro:bit can be connected to and interact with sensors, displays, and other devices.
## Block Editor or JavaScript
## Blocks or JavaScript
The student can program the BBC micro:bit using a Block Editor or JavaScript.
The student can program the BBC micro:bit using [visual blocks](http://www.github.com/Google/blockly) or JavaScript.
```blocks
basic.showString("BBC micro:bit!");
@ -46,16 +46,9 @@ input.onGesture(Gesture.Shake, () => {
});
```
To run a student's project in the web browser, KindScript compiles it into JavaScript, the scripting language built into all web browsers.
C++ and Touch Develop Libraries
The C++ micro:bit library, created at Lancaster University, provides access to the hardware functions of the micro:bit, as well as a set of helper functions (such as displaying a number/image/string on the LED screen). The Touch Develop micro:bit library mirrors the functions of the C++ library. When a Touch Develop script is compiled to C++, the calls to Touch Develop micro:bit functions are replaced with calls to the corresponding C++ functions.
Above, see the mapping from the Touch Develop "show number" function to its corresponding the C++ function.
## C++ Runtime
The C++ BBC micro:bit library, created at [Lancaster University](http://www.lancaster.ac.uk/), provides access to the hardware functions of the micro:bit,
as well as a set of helper functions (such as displaying a number/image/string on the LED screen).
The JavaScript micro:bit library mirrors the functions of the C++ library.
When code is compiled to C++, the calls to JavaScript micro:bit functions are replaced with calls to the corresponding C++ functions.
When code is compiled to ARM machine code, the calls to JavaScript micro:bit functions are replaced with calls to the corresponding C++ functions.

View File

@ -1,6 +1,6 @@
{
"name": "kindscript-microbit",
"version": "0.0.8",
"version": "0.0.11",
"description": "BBC micro:bit target for KindScript",
"keywords": [
"JavaScript",
@ -30,6 +30,6 @@
"typescript": "^1.8.7"
},
"dependencies": {
"kindscript": "0.1.113"
"kindscript": "0.1.117"
}
}