Skip to content

Commit 8cf23d8

Browse files
authored
Remove debug parameter in example
debug was removed in adafruit#27 but the readme still has it which causes an exception. This will make for a nicer first experience with the library ;) ``` TypeError: unexpected keyword argument 'debug' ```
1 parent 022a856 commit 8cf23d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Usage Example
7777
pulses = decoder.read_pulses(pulsein)
7878
print("Heard", len(pulses), "Pulses:", pulses)
7979
try:
80-
code = decoder.decode_bits(pulses, debug=False)
80+
code = decoder.decode_bits(pulses)
8181
print("Decoded:", code)
8282
except adafruit_irremote.IRNECRepeatException: # unusual short code!
8383
print("NEC repeat!")

0 commit comments

Comments
 (0)