pxt-microbit Accessibility PR (#529)

* Accessibility changes
This commit is contained in:
Sam El-Husseini
2017-09-07 13:42:08 -07:00
committed by GitHub
parent 3f87576a50
commit e3975e65e5
357 changed files with 1641 additions and 3540 deletions

View File

@ -6,11 +6,11 @@ Specify which [pin](/device/pins) (P0, P1, P2) is used to generate tones.
pins.analogSetPitchPin(AnalogPin.P0)
```
### Parameters
## Parameters
* `name` - [String](/types/string); the pin name ("P0", "P1", or "P2")
### Example
## Example
```blocks
pins.analogSetPitchPin(AnalogPin.P0)
@ -19,12 +19,12 @@ let duration = 1000
pins.analogPitch(frequency, duration)
```
### Some common notes
## Some common notes
* 440 = A4 on piano
* see [piano key frequencies ](https://en.wikipedia.org/wiki/Piano_key_frequencies) for more information
### See also
## See also
[@boardname@ pins](/device/pins), [analog set period](/reference/pins/analog-set-period), [analog pitch](/reference/pins/analog-pitch)