Skip to content

Commit 1c7fc01

Browse files
committed
Documentation
1 parent 39da1b6 commit 1c7fc01

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ If you see something like `Protocol=UNKNOWN Hash=0x13BD886C 35 bits received` as
121121

122122
- If you have an **odd number of bits** received, it is likely, that your receiver circuit has problems. Maybe because the IR signal is too weak.
123123
- If you see timings like `+ 600,- 600 + 550,- 150 + 200,- 100 + 750,- 550` then one 450 µs space was split into two 150 and 100 µs spaces with a spike / error signal of 200 µs between. Maybe because of a defective receiver or a weak signal in conjunction with another light emitting source nearby.
124+
- If you see timings like `+ 500,- 550 + 450,- 550 + 500,- 500 + 500,-1550`, then marks are generally shorter than spaces and therefore `MARK_EXCESS_MICROS` (specified in your ino file) should be **negative** to compensate for this at decoding.
124125
- To see more info supporting you to find the reason for your UNKNOWN protocol, you must enable the line `//#define DEBUG` in IRremoteInt.h.
125126

126127
## How to deal with protocols not supported by IRremote

examples/ReceiveDump/ReceiveDump.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,11 @@ void loop() {
8484
Serial.println(F("Raw result in microseconds - with leading gap"));
8585
IrReceiver.printIRResultRawFormatted(&Serial, true); // Output the results in RAW format
8686
Serial.println(); // blank line between entries
87-
Serial.println(F("Result as internal ticks (50 us) array - compensated with MARK_EXCESS_MICROS"));
87+
Serial.print(F("Result as internal ticks (50 us) array - compensated with MARK_EXCESS_MICROS="));
88+
Serial.println(MARK_EXCESS_MICROS);
8889
IrReceiver.compensateAndPrintIRResultAsCArray(&Serial, false); // Output the results as uint8_t source code array of ticks
89-
Serial.println(F("Result as microseconds array - compensated with MARK_EXCESS_MICROS"));
90+
Serial.print(F("Result as microseconds array - compensated with MARK_EXCESS_MICROS="));
91+
Serial.println(MARK_EXCESS_MICROS);
9092
IrReceiver.compensateAndPrintIRResultAsCArray(&Serial, true); // Output the results as uint16_t source code array of micros
9193
IrReceiver.printIRResultAsCVariables(&Serial); // Output address and data as source code variables
9294

0 commit comments

Comments
 (0)