Merge pull request #172 from gingemonster/patch-1
updated setPull help annotation
This commit is contained in:
commit
56f6a2fa56
@ -229,7 +229,7 @@ namespace pins {
|
||||
* @param name pin to set the pull mode on
|
||||
* @param pull one of the mbed pull configurations: PullUp, PullDown, PullNone
|
||||
*/
|
||||
//% help=pins/digital-set-pull weight=3
|
||||
//% help=pins/set-pull weight=3
|
||||
//% blockId=device_set_pull block="set pull|pin %pin|to %pull"
|
||||
void setPull(DigitalPin name, PinPullMode pull) {
|
||||
PinMode m = pull == PinPullMode::PullDown
|
||||
|
Loading…
Reference in New Issue
Block a user