Merge pull request #5907 from Neradoc/patch-3

pulseio doc example little fix
This commit is contained in:
Dan Halbert 2022-01-22 22:34:36 -05:00 committed by GitHub
commit 4d0e1d9055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)