Merge pull request #173 from gingemonster/master

fixing more help broken links
This commit is contained in:
Peli de Halleux 2016-07-21 11:10:55 -07:00 committed by GitHub
commit dd94442555
3 changed files with 4 additions and 4 deletions

View File

@ -284,7 +284,7 @@ namespace input {
* Sets the accelerometer sample range in gravities.
* @param range a value describe the maximum strengh of acceleration measured
*/
//% help=input/set-accelerator-range
//% help=input/set-accelerometer-range
//% blockId=device_set_accelerometer_range block="set accelerometer|range %range" icon="\uf135"
//% weight=5
void setAccelerometerRange(AcceleratorRange range) {

View File

@ -159,7 +159,7 @@ namespace pins {
/**
* Gets the duration of the last pulse in micro-seconds. This function should be called from a ``onPulsed`` handler.
*/
//% help=pins/pulse-micros
//% help=pins/pulse-duration
//% blockId=pins_pulse_duration block="pulse duration (µs)"
//% weight=21
int pulseDuration() {

View File

@ -61,11 +61,11 @@ namespace serial {
* @param baud the new baud rate. eg: 115200
*/
//% weight=10
//% help=serial/redirect
//% help=serial/redirect-to
//% blockId=serial_redirect block="serial redirect to|TX %tx|RX %rx|at baud rate %rate"
//% blockExternalInputs=1
void redirect(SerialPin tx, SerialPin rx, BaudRate rate) {
uBit.serial.redirect((PinName)tx, (PinName)rx);
uBit.serial.baud((int)rate);
}
}
}