diff --git a/Trinket_Gemma_IR_Control/IR_reader.py b/Trinket_Gemma_IR_Control/IR_reader.py index 29bb9f25..f81fa778 100644 --- a/Trinket_Gemma_IR_Control/IR_reader.py +++ b/Trinket_Gemma_IR_Control/IR_reader.py @@ -23,20 +23,18 @@ while True: # Wait for a pulse to be detected. detected = decoder.read_pulses(pulses) - """ - print the number of pulses detected - note: pulse count is an excellent indicator as to the quality of IR code - received. + # print the number of pulses detected + # note: pulse count is an excellent indicator as to the quality of IR code + # received. + # + # If you are expecting 67 each time (Adafruit Mini Remote Control #389) + # and only receive 57 this will result in a incomplete listener - If you are expecting 67 each time (Adafruit Mini Remote Control #389) - and only receive 57 this will result in a incomplete listener - """ print("pulse count: ", len(detected)) - """ - print in list form of the pulse duration in microseconds - typically starts with ~9,000 microseconds followed by a ~4,000 microseconds - which is standard IR preamble - """ + # print in list form of the pulse duration in microseconds + # typically starts with ~9,000 microseconds followed by a ~4,000 microseconds + # which is standard IR preamble + print(detected) print()