Calibrate compass (#392)

* adding 'calibrate-compass' function

* fixing simulator.

* updated docs

* fixing compat test suite with 'calibrate()' function
This commit is contained in:
Peli de Halleux
2017-04-25 10:46:25 -07:00
committed by GitHub
parent a6ec23b76f
commit bd895f43ba
12 changed files with 68 additions and 14 deletions

View File

@ -4,7 +4,7 @@ Replaces the implementation of the [music play tone](/reference/music/play-tone)
```sig
music.setPlayTone((freq, ms) => {})
music.setPlayTone((frequency: number, duration: number) => {})
```
### Parameters