From 048ccbcdb2603665705ef7d946f81d9d8dd93d7d Mon Sep 17 00:00:00 2001 From: Neradoc Date: Sat, 22 Jan 2022 20:39:26 +0100 Subject: [PATCH] pulseio doc example little fix --- shared-bindings/pulseio/PulseOut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared-bindings/pulseio/PulseOut.c b/shared-bindings/pulseio/PulseOut.c index bf2aaf54ff..ac568231b9 100644 --- a/shared-bindings/pulseio/PulseOut.c +++ b/shared-bindings/pulseio/PulseOut.c @@ -59,7 +59,7 @@ //| import board //| //| # 50% duty cycle at 38kHz. -//| pwm = pulseio.PulseOut(board.LED, frequency=38000, duty_cycle=32768) +//| pulse = pulseio.PulseOut(board.LED, frequency=38000, duty_cycle=32768) //| # on off on off on //| pulses = array.array('H', [65000, 1000, 65000, 65000, 1000]) //| pulse.send(pulses)