From b653c3c8fc2f97fa59f7d767338e2eab08739d57 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Thu, 13 Apr 2017 17:52:13 -0700 Subject: [PATCH] Correct PulseOut example code --- 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 20e04e8fba..7b05e704ca 100644 --- a/shared-bindings/pulseio/PulseOut.c +++ b/shared-bindings/pulseio/PulseOut.c @@ -57,7 +57,7 @@ //| with pulseio.PWMOut(board.D13, duty_cycle=2 ** 15) as pwm: //| pulse = pulseio.PulseOut(pwm) //| # on off on off on -//| pulses = array.array('h', [65000, 1000, 65000, 65000, 1000]) +//| pulses = array.array('H', [65000, 1000, 65000, 65000, 1000]) //| pulse.send(pulses) //| //| # Modify the array of pulses.