From c805d67cf626eb76b024303724ff3fa89c2992e8 Mon Sep 17 00:00:00 2001 From: gingemonster Date: Wed, 20 Jul 2016 06:29:44 +0100 Subject: [PATCH] fixing help for pins.pulseDuration Help document at https://codethemicrobit.com/reference/pins/pulse-duration doesnt match the help annotation in the code so this fixes it --- libs/microbit/pins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/microbit/pins.cpp b/libs/microbit/pins.cpp index 0589aa7c..a262018d 100644 --- a/libs/microbit/pins.cpp +++ b/libs/microbit/pins.cpp @@ -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() {