* Dump out the IrReceiver.irparams.rawbuf[] to be used as C definition for sendRaw(). * * * Print ticks in 8 bit format to save space. * Maximum is 255*50 microseconds = 12750 microseconds = 12.75 ms, which hardly ever occurs inside an IR sequence. * Recording of IRremote anyway stops at a gap of RECORD_GAP_MICROS (5 ms). * * @param aSerial The Print object on which to write, for Arduino
| 2306 | * @param aDoCompensate Compensate received values by MARK_EXCESS_MICROS, like it is done for decoding! |
| 2307 | */ |
| 2308 | void IRrecv::compensateAndPrintIRResultAsCArray(Print *aSerial, bool aOutputMicrosecondsInsteadOfTicks) { |
| 2309 | printIRResultAsCArray(aSerial, aOutputMicrosecondsInsteadOfTicks, true); |
| 2310 | } |
| 2311 | void IRrecv::printIRResultAsCArray(Print *aSerial, bool aOutputMicrosecondsInsteadOfTicks, bool aDoCompensate) { |
| 2312 | // Start declaration |
| 2313 | if (aOutputMicrosecondsInsteadOfTicks) { |
nothing calls this directly
no outgoing calls
no test coverage detected