Skip to content

Commit b653c3c

Browse files
committed
Correct PulseOut example code
1 parent f37ce1c commit b653c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/pulseio/PulseOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
//| with pulseio.PWMOut(board.D13, duty_cycle=2 ** 15) as pwm:
5858
//| pulse = pulseio.PulseOut(pwm)
5959
//| # on off on off on
60-
//| pulses = array.array('h', [65000, 1000, 65000, 65000, 1000])
60+
//| pulses = array.array('H', [65000, 1000, 65000, 65000, 1000])
6161
//| pulse.send(pulses)
6262
//|
6363
//| # Modify the array of pulses.

0 commit comments

Comments
 (0)