We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80db51f commit 1e478b1Copy full SHA for 1e478b1
examples/irremote_transmit.py
@@ -16,7 +16,7 @@
16
button.pull = digitalio.Pull.DOWN
17
18
# Create a 'pwmio' output, to send infrared signals on the IR transmitter @ 38KHz
19
-pwm = pwmio.PWMOut(board.IR_TX, frequency=38000, duty_cycle=2 ** 15)
+pwm = pwmio.PWMOut(board.IR_TX, frequency=38000, duty_cycle=2**15)
20
pulseout = pulseio.PulseOut(pwm)
21
# Create an encoder that will take numbers and turn them into NEC IR pulses
22
encoder = adafruit_irremote.GenericTransmit(
0 commit comments