diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-04-13 17:52:13 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-04-13 17:52:13 -0700 |
| commit | b653c3c8fc2f97fa59f7d767338e2eab08739d57 (patch) | |
| tree | 6e5aef54361b2e85a36cac6ad9ce9cf06a69544c /shared-bindings/pulseio/PulseOut.c | |
| parent | f37ce1c5957982d8e3509052e8991ed381e8489d (diff) | |
Correct PulseOut example code0.9.5
Diffstat (limited to 'shared-bindings/pulseio/PulseOut.c')
| -rw-r--r-- | shared-bindings/pulseio/PulseOut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/pulseio/PulseOut.c b/shared-bindings/pulseio/PulseOut.c index 20e04e8fb..7b05e704c 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. |
