Merge pull request #5209 from dhalbert/thunderpack-fix-and-pulseout-doc

shrink thunderpack_v11; fix PulseOut doc
This commit is contained in:
microDev 2021-08-24 12:18:01 +05:30 committed by GitHub
commit 66404a3107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -16,4 +16,6 @@ MCU_PACKAGE = UFQFPN48
LD_COMMON = boards/common_nvm.ld LD_COMMON = boards/common_nvm.ld
LD_FILE = boards/STM32F411_nvm.ld LD_FILE = boards/STM32F411_nvm.ld
CIRCUITPY_BLEIO_HCI = 0
CIRCUITPY_VECTORIO = 0
CIRCUITPY_ULAB = 0 CIRCUITPY_ULAB = 0

View File

@ -42,9 +42,9 @@
//| for on and off pairs.""" //| for on and off pairs."""
//| //|
//| def __init__(self, pin: microcontroller.Pin, *, frequency: int = 38000, duty_cycle: int = 1 << 15) -> None: //| 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 frequency: Carrier signal frequency in Hertz
//| :param int duty_cycle: 16-bit duty cycle of carrier frequency (0 - 65536) //| :param int duty_cycle: 16-bit duty cycle of carrier frequency (0 - 65536)
//| //|