pulseio doc example little fix

This commit is contained in:
Neradoc 2022-01-22 20:39:26 +01:00 committed by GitHub
parent bed724fc17
commit 048ccbcdb2
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)