pxt-calliope/docs/reference/js/contents.md
2016-03-25 18:24:15 -07:00

6.7 KiB

micro:bit/JavaScript Documentation

JavaScript docs for the micro:bit

@section full

@parent reference

@short JavaScript

~hint

Spotty internet? No problem! (1) When online, go to https://www.microbit.co.uk/app/ and bookmark this URL; (2) use the bookmark to reload the web app, even without the internet.

~

Welcome to the Touch Develop home page for the BBC micro:bit. Below you will find resources about the Touch Develop programming language and code editor. Good places to start include:

~column

Language

Variables

Types

Statements and control structures

Maths

  • arithmetic operators (+, -, *, /, mod) on Numbers
  • comparison operators (such as >, =) on Numbers
  • the math library
  • the bits library

Logical

Strings

Functions

Collections

Custom object types

Libraries

Documentation

~

~column

BBC micro:bit functions

Basic

LED

Input

Image

Music

Pins

Control

Devices

Functions in this category require to be connected to a remote device.

Libraries

~

~column

Run

Debugging

Edit/Publish

Creating Tutorials

~