Skip to content

Commit 0e7c176

Browse files
authored
Merge pull request #2173 from kattni/cpx-ir-as-input-fix
Remove deprecated argument.
2 parents 93d8048 + 4d2b5cb commit 0e7c176

File tree

1 file changed

+1
-1
lines changed
  • Circuit_Playground_Express_and_IR/CPX_IR_as_Input

1 file changed

+1
-1
lines changed

Circuit_Playground_Express_and_IR/CPX_IR_as_Input/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
pulses = decoder.read_pulses(pulsein)
1717
try:
1818
# Attempt to convert received pulses into numbers
19-
received_code = decoder.decode_bits(pulses, debug=False)
19+
received_code = decoder.decode_bits(pulses)
2020
except adafruit_irremote.IRNECRepeatException:
2121
# We got an unusual short code, probably a 'repeat' signal
2222
# print("NEC repeat!")

0 commit comments

Comments
 (0)