mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2026-09-21 20:39:35 +00:00
IRDEBUG
This commit is contained in:
@ -9,6 +9,12 @@ IR_DecoderRaw::IR_DecoderRaw(const uint8_t isrPin, uint16_t addr, IR_Encoder *en
|
||||
{
|
||||
encPair->decPair = this;
|
||||
}
|
||||
#ifdef IRDEBUG
|
||||
pinMode(wrHigh, OUTPUT);
|
||||
pinMode(wrLow, OUTPUT);
|
||||
pinMode(writeOp, OUTPUT);
|
||||
pinMode(errOut, OUTPUT);
|
||||
#endif
|
||||
}
|
||||
|
||||
//////////////////////////////////// isr ///////////////////////////////////////////
|
||||
@ -161,7 +167,7 @@ void IR_DecoderRaw::tick()
|
||||
{
|
||||
if (isPreamb)
|
||||
{ // первый фронт после
|
||||
// gotTune.set(riseSyncTime);
|
||||
// gotTune.set(riseSyncTime);
|
||||
}
|
||||
isPreamb = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user