From ce5e267143e429af6f8cecaaaff6fcb19d1fc42b Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Mon, 23 Aug 2021 21:57:29 -0400 Subject: [PATCH] shrink thunderpack_v11; fix PulseOut doc --- ports/stm/boards/thunderpack_v11/mpconfigboard.mk | 2 ++ shared-bindings/pulseio/PulseOut.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ports/stm/boards/thunderpack_v11/mpconfigboard.mk b/ports/stm/boards/thunderpack_v11/mpconfigboard.mk index 8f645068d7..29f9b14ba8 100644 --- a/ports/stm/boards/thunderpack_v11/mpconfigboard.mk +++ b/ports/stm/boards/thunderpack_v11/mpconfigboard.mk @@ -16,4 +16,6 @@ MCU_PACKAGE = UFQFPN48 LD_COMMON = boards/common_nvm.ld LD_FILE = boards/STM32F411_nvm.ld +CIRCUITPY_BLEIO_HCI = 0 +CIRCUITPY_VECTORIO = 0 CIRCUITPY_ULAB = 0 diff --git a/shared-bindings/pulseio/PulseOut.c b/shared-bindings/pulseio/PulseOut.c index 564320ae0d..88d7eb40e0 100644 --- a/shared-bindings/pulseio/PulseOut.c +++ b/shared-bindings/pulseio/PulseOut.c @@ -42,9 +42,9 @@ //| for on and off pairs.""" //| //| def __init__(self, pin: microcontroller.Pin, *, frequency: int = 38000, duty_cycle: int = 1 << 15) -> None: -//| """Create a PulseOut object associated with the given PWMout object. +//| """Create a PulseOut object associated with the given pin. //| -//| :param ~microcontroller.Pin pin: PWMOut that is set to output on the desired pin. +//| :param ~microcontroller.Pin pin: Signal output pin //| :param int frequency: Carrier signal frequency in Hertz //| :param int duty_cycle: 16-bit duty cycle of carrier frequency (0 - 65536) //|